:root {
  --ink: #17323a;
  --muted: #5f7477;
  --teal: #0a7183;
  --teal-dark: #075a69;
  --coral: #f56954;
  --coral-soft: #ffdfd5;
  --gold: #e8aa39;
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --line: rgba(23, 50, 58, 0.12);
  --shadow: 0 30px 80px rgba(36, 70, 76, 0.13);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "Noto Sans TC", "Noto Sans Thai", "PingFang TC", "Microsoft JhengHei",
    system-ui, sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(10, 113, 131, 0.06), transparent 24rem),
    radial-gradient(circle at 85% 45%, rgba(245, 105, 84, 0.05), transparent 22rem);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--teal);
  border-radius: 999px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  min-height: 76px;
  padding: 0.8rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid rgba(23, 50, 58, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.brand span {
  display: grid;
  line-height: 1.12;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.site-header > nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.site-header > nav a {
  transition: color 180ms ease;
}

.site-header > nav a:hover,
.site-header > nav a:focus-visible {
  color: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.language-picker select {
  padding: 0.58rem 1.8rem 0.58rem 0.75rem;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.button,
.plan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  min-height: 52px;
  padding: 0.75rem 1.35rem;
  color: white;
  font-weight: 800;
  background: var(--teal);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(10, 113, 131, 0.22);
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.plan-button:hover,
.plan-button:focus-visible {
  background: var(--teal-dark);
  box-shadow: 0 16px 36px rgba(10, 113, 131, 0.3);
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.86rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--teal);
  font-weight: 800;
  border-bottom: 1px solid rgba(10, 113, 131, 0.35);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  background: var(--cream);
}

.hero-art {
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background:
    linear-gradient(to top, rgba(247, 242, 232, 0.05), rgba(247, 242, 232, 0.75)),
    url("./assets/heartbridge-bridge.png") center bottom / cover no-repeat;
  opacity: 0.92;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  width: min(1240px, calc(100% - 2rem));
  min-height: calc(100vh - 76px);
  margin: auto;
  padding: 5rem 1rem 7rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1.02;
}

.hero-lead {
  max-width: 660px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 2rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  margin-top: 2rem;
}

.hero-proof span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-proof i {
  display: grid;
  width: 20px;
  height: 20px;
  color: white;
  font-size: 0.68rem;
  font-style: normal;
  background: var(--teal);
  border-radius: 50%;
  place-items: center;
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
}

.phone {
  width: min(380px, 94vw);
  padding: 12px;
  overflow: hidden;
  background: #f4f5f3;
  border: 9px solid #163038;
  border-radius: 42px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.phone::before {
  display: block;
  width: 82px;
  height: 19px;
  margin: -4px auto 8px;
  content: "";
  background: #163038;
  border-radius: 0 0 18px 18px;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 0.75rem;
  background: white;
  border-radius: 22px 22px 8px 8px;
}

.phone-top .avatar {
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50%;
}

.phone-top img {
  width: 100%;
  height: 100%;
}

.phone-top > span:last-child {
  display: grid;
}

.phone-top strong {
  font-size: 0.78rem;
}

.phone-top small {
  color: #74a375;
  font-size: 0.65rem;
}

.chat-window {
  min-height: 465px;
  padding: 1rem 0.65rem;
  background:
    linear-gradient(rgba(224, 237, 229, 0.84), rgba(224, 237, 229, 0.84)),
    radial-gradient(circle at 20% 10%, #fff 1px, transparent 1px);
  background-size: auto, 14px 14px;
}

.timestamp {
  margin: 0 0 1rem;
  color: rgba(23, 50, 58, 0.55);
  font-size: 0.64rem;
  text-align: center;
}

.bubble {
  max-width: 82%;
  margin-bottom: 0.7rem;
  padding: 0.72rem 0.85rem;
  font-size: 0.8rem;
  line-height: 1.45;
  border-radius: 17px;
  box-shadow: 0 6px 18px rgba(29, 54, 58, 0.08);
  animation: bubble-in 520ms both;
}

.bubble span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--teal);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.outgoing {
  margin-left: auto;
  background: #b9ef8d;
  border-bottom-right-radius: 4px;
}

.incoming {
  background: white;
  border-bottom-left-radius: 4px;
}

.translated {
  color: #111827;
  background: #f4f5f6;
}

.translated span {
  color: #334155;
}

.english {
  color: #3e6f73;
  background: #eef5f4;
  animation-delay: 220ms;
}

.english span {
  color: #3e6f73;
}

.typing {
  display: none;
  width: max-content;
  gap: 4px;
  margin-bottom: 0.7rem;
  padding: 0.8rem;
  background: white;
  border-radius: 17px;
}

.typing.show {
  display: flex;
}

.typing i {
  width: 6px;
  height: 6px;
  background: #9fb0ac;
  border-radius: 50%;
  animation: typing 900ms infinite alternate;
}

.typing i:nth-child(2) {
  animation-delay: 160ms;
}

.typing i:nth-child(3) {
  animation-delay: 320ms;
}

.demo-button {
  width: 100%;
  padding: 0.75rem;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  background: white;
  border: 0;
  border-radius: 0 0 22px 22px;
  cursor: pointer;
}

.floating-note {
  position: absolute;
  padding: 0.65rem 0.9rem;
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: 0 15px 40px rgba(23, 50, 58, 0.12);
  backdrop-filter: blur(12px);
}

.note-one {
  top: 18%;
  left: -18%;
}

.note-two {
  right: -20%;
  bottom: 22%;
}

.trust-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 3rem;
  padding: 1.6rem max(1rem, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.trust-strip p {
  margin: 0;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
}

.trust-strip div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
  font-size: 0.78rem;
}

.trust-strip i {
  color: var(--gold);
  font-style: normal;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 3.5rem;
}

.section-heading.compact {
  text-align: center;
  margin-inline: auto;
}

.section-heading h2,
.lesson-copy h2,
.privacy-panel h2,
.final-cta h2 {
  margin: 0;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.section-heading > p:last-child,
.lesson-copy > p,
.privacy-panel p {
  margin: 1.2rem 0 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.feature-card {
  grid-column: span 2;
  min-height: 290px;
  padding: 1.8rem;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(23, 50, 58, 0.06);
  border-radius: var(--radius);
}

.feature-large {
  grid-column: span 4;
  min-height: 380px;
  background:
    radial-gradient(circle at 82% 30%, rgba(255, 255, 255, 0.55), transparent 15rem),
    #dcebef;
}

.coral-card {
  color: #6c2f25;
  background: var(--coral-soft);
}

.gold-card {
  background: #f6e7bd;
}

.teal-card {
  color: white;
  background: var(--teal);
}

.feature-card h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.35rem;
}

.feature-card p {
  max-width: 460px;
  margin: 0;
  color: currentColor;
  opacity: 0.76;
  font-size: 0.9rem;
}

.icon-chip {
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--teal);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  place-items: center;
}

.mini-thread {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 600px;
  margin-top: 2.5rem;
}

.mini-thread span {
  padding: 0.65rem 0.85rem;
  font-size: 0.75rem;
  background: white;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(10, 113, 131, 0.1);
}

.mini-thread .mini-source {
  margin-left: 18%;
  background: #c8f5a2;
}

.mini-thread .mini-en {
  color: var(--muted);
}

.lesson-section {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 0.7fr);
  align-items: center;
  gap: clamp(3rem, 10vw, 9rem);
}

.check-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 750;
}

.check-list li::before {
  display: grid;
  width: 24px;
  height: 24px;
  color: white;
  content: "✓";
  font-size: 0.7rem;
  background: var(--teal);
  border-radius: 50%;
  place-items: center;
}

.lesson-card {
  padding: 1.5rem;
  background: white;
  border: 1px solid rgba(23, 50, 58, 0.1);
  border-radius: 30px;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.lesson-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.lesson-card-top small,
.lesson-card-top > span,
.lesson-topic small,
.phrase-box small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.lesson-card-top h3 {
  margin: 0.25rem 0 0;
}

.lesson-topic {
  display: grid;
  gap: 0.25rem;
  margin: 1rem 0;
  padding: 1rem;
  background: var(--cream);
  border-radius: 18px;
}

.word-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  gap: 0.5rem;
  padding: 0.9rem 0.4rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
}

.word-row i {
  color: var(--muted);
}

.word-row b {
  text-align: right;
}

.phrase-box {
  margin-top: 1rem;
  padding: 1rem;
  color: white;
  background: var(--teal);
  border-radius: 18px;
}

.phrase-box small {
  color: rgba(255, 255, 255, 0.68);
}

.phrase-box strong {
  display: block;
  margin-top: 0.3rem;
}

.phrase-box p {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
}

.complete-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.8rem;
  color: var(--teal);
  background: transparent;
  border: 1px solid rgba(10, 113, 131, 0.28);
  border-radius: 999px;
  cursor: pointer;
}

.complete-button.completed {
  color: white;
  background: var(--teal);
}

.how-section {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - 1180px) / 2));
  background: var(--cream);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.steps article {
  position: relative;
  min-height: 230px;
  padding: 1.7rem;
  background: white;
  border-radius: var(--radius);
}

.steps span {
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.steps h3 {
  margin: 3.5rem 0 0.6rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.line-guide {
  background: #f8fbfa;
}

.line-guide-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) 1fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  max-width: 980px;
  margin: 3rem auto 0;
}

.line-search-demo {
  padding: 1.2rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(23, 50, 58, 0.12);
}

.line-search-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.6rem 0 1rem;
}

.line-search-top span {
  color: var(--muted);
  font-size: 1.6rem;
}

.line-search-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.line-search-tabs span {
  padding: 0.7rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.line-search-tabs span:first-child {
  color: var(--teal);
  border-bottom: 3px solid #06c755;
}

.line-search-box {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  background: #f3f5f6;
  border-radius: 14px;
}

.line-search-result {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.line-search-result img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.line-search-result span {
  display: grid;
}

.line-search-result small {
  color: var(--muted);
}

.line-search-result b {
  display: grid;
  width: 32px;
  height: 32px;
  color: white;
  background: #06c755;
  border-radius: 50%;
  place-items: center;
}

.line-guide-steps {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.line-guide-steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: start;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border: 1px solid rgba(23, 50, 58, 0.07);
  border-radius: 16px;
}

.line-guide-steps li > span {
  display: grid;
  width: 40px;
  height: 40px;
  color: white;
  font-size: 0.7rem;
  font-weight: 900;
  background: var(--coral);
  border-radius: 50%;
  place-items: center;
}

.line-guide-steps strong {
  display: block;
  margin-bottom: 0.25rem;
}

.line-guide-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.line-guide-cta {
  width: max-content;
  margin: 2rem auto 0;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 390px));
  justify-content: center;
  gap: 1.2rem;
}

.plan-card {
  position: relative;
  padding: 2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.plan-card > p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.plan-card h3 {
  margin: 1rem 0;
}

.plan-card h3 strong {
  font-size: 2.7rem;
}

.plan-card h3 small {
  color: var(--muted);
  font-size: 0.8rem;
}

.plan-card ul {
  display: grid;
  gap: 0.75rem;
  min-height: 120px;
  padding: 0;
  list-style: none;
}

.plan-card li::before {
  margin-right: 0.5rem;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.featured-plan {
  color: white;
  background: var(--ink);
  transform: translateY(-12px);
}

.featured-plan > p,
.featured-plan h3 small {
  color: rgba(255, 255, 255, 0.65);
}

.featured-plan .plan-button {
  color: var(--ink);
  background: var(--gold);
}

.plan-button {
  width: 100%;
  min-height: 46px;
  box-shadow: none;
}

.plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.7rem;
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 900;
  background: var(--gold);
  border-radius: 999px;
}

.privacy-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  width: min(1100px, calc(100% - 2rem));
  margin: 1rem auto 7rem;
  padding: 2.5rem;
  color: white;
  background: var(--teal);
  border-radius: 34px;
}

.privacy-panel h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.privacy-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.privacy-panel .text-link {
  color: white;
  white-space: nowrap;
  border-color: rgba(255, 255, 255, 0.45);
}

.privacy-mark {
  display: grid;
  width: 70px;
  height: 70px;
  color: var(--teal);
  font-size: 1.35rem;
  font-weight: 900;
  background: white;
  border-radius: 22px;
  place-items: center;
}

.faq-list {
  max-width: 820px;
  margin: auto;
  border-top: 1px solid var(--line);
}

.faq-list details {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  font-weight: 850;
  cursor: pointer;
}

.faq-list p {
  max-width: 700px;
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.final-cta {
  display: grid;
  min-height: 680px;
  padding: 6rem 1rem;
  text-align: center;
  background:
    linear-gradient(rgba(247, 242, 232, 0.35), rgba(247, 242, 232, 0.92)),
    url("./assets/heartbridge-bridge.png") center / cover no-repeat;
  place-items: center;
  align-content: center;
}

.final-cta > img {
  width: 86px;
  height: 86px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  box-shadow: 0 15px 45px rgba(23, 50, 58, 0.14);
}

.final-cta h2 {
  max-width: 900px;
}

.final-cta > p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
}

.final-line-cta {
  margin-top: 1.5rem;
}

.official-id {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 50, 58, 0.1);
  border-radius: 999px;
  box-shadow: 0 15px 40px rgba(23, 50, 58, 0.1);
  backdrop-filter: blur(12px);
}

.official-id span {
  color: var(--muted);
  font-size: 0.7rem;
}

.official-id strong {
  color: var(--ink);
  font-size: 0.88rem;
}

.official-id button {
  padding: 0.55rem 0.9rem;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--coral);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.command-chip {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 0.8rem;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 50, 58, 0.1);
  border-radius: 999px;
  box-shadow: 0 15px 40px rgba(23, 50, 58, 0.12);
  backdrop-filter: blur(12px);
}

.command-chip span {
  color: var(--muted);
  font-size: 0.7rem;
}

.command-chip button {
  padding: 0.55rem 0.9rem;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--teal);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.final-cta > small {
  color: var(--muted);
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: rgba(255, 255, 255, 0.68);
  background: var(--ink);
  font-size: 0.72rem;
}

.footer-brand strong {
  color: white;
}

.footer-details {
  display: grid;
  gap: 0.45rem;
  text-align: center;
}

.company-info {
  display: flex;
  justify-content: center;
  gap: 0.35rem 0.8rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.company-info strong {
  color: white;
}

.company-info a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.footer-details p {
  margin: 0;
}

footer nav {
  display: flex;
  gap: 1rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: 220ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: none;
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes typing {
  to {
    opacity: 0.3;
    transform: translateY(-3px);
  }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header > nav {
    display: none;
  }

  .hero-inner,
  .lesson-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 4rem;
  }

  .phone-stage {
    margin-top: 2rem;
  }

  .feature-card,
  .feature-large {
    grid-column: span 3;
  }

  .note-one {
    left: 2%;
  }

  .note-two {
    right: 2%;
  }

  .privacy-panel {
    grid-template-columns: auto 1fr;
  }

  .privacy-panel .text-link {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
  }

  .brand small,
  .header-actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 3.5rem 0 6rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-proof {
    display: grid;
  }

  .floating-note {
    display: none;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .trust-strip div {
    justify-content: flex-start;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-large {
    grid-column: auto;
    min-height: 260px;
  }

  .steps,
  .line-guide-layout,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .line-guide-cta {
    width: 100%;
  }

  .featured-plan {
    transform: none;
  }

  .privacy-panel {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .privacy-panel .text-link {
    grid-column: auto;
  }

  .command-chip {
    width: min(100%, 370px);
    align-items: stretch;
    flex-direction: column;
    padding: 1rem;
    border-radius: 22px;
  }

  .official-id {
    width: min(100%, 370px);
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 22px;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .company-info {
    align-items: center;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
