@font-face {
  font-family: "LINESeedTW";
  src: url("/fonts/LINESeedTW_OTF_Rg.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "LINESeedTW";
  src: url("/fonts/LINESeedTW_OTF_Bd.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  --coral: #FE5435;
  --navy: #0F1B2D;
  --amber: #FFB347;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --sub: #6B7280;
  --muted: #9AA3AE;
  --border: #ECE7DF;
  --track: #EDE8E0;
  --shadow: 0 20px 60px rgba(15, 27, 45, .14);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--cream);
  font-family: "LINESeedTW", -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 247, 242, .88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand img {
  width: 174px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--sub);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:not(.btn) {
  transition: color 160ms var(--ease-out);
}

.nav-links a:not(.btn):hover {
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 7px 15px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms var(--ease-out);
}

.btn-lg {
  min-height: 48px;
  padding: 12px 18px;
  font-size: 16px;
}

.btn:active {
  transform: scale(.97);
}

.btn-primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 10px 24px rgba(254, 84, 53, .24);
}

.btn-secondary {
  color: var(--white);
  background: var(--navy);
}

.hero {
  min-height: min(760px, calc(88vh - 64px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 56px;
  align-items: center;
  padding: 46px 0 64px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.3;
  font-weight: 700;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
  font-weight: 700;
}

h3 {
  font-size: 19px;
  line-height: 1.25;
  font-weight: 700;
}

.accent {
  color: var(--coral);
}

.lead {
  max-width: 590px;
  margin-bottom: 26px;
  color: var(--sub);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.phone {
  position: absolute;
  will-change: transform;
}

.phone img {
  width: 100%;
  height: 520px;
}

.phone.primary {
  top: 50px;
  right: 0px;
  z-index: 3;
}

.phone.peek {
  left: 0;
  top: 0;
  z-index: 2;
}

section {
  padding: 82px 0;
  scroll-margin-top: 64px;
}

.feature-section {
  background: #fffaf7;
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-head p {
  color: var(--sub);
  font-size: 17px;
  margin-bottom: 0;
}

.feature-scroll {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.sticky-phone {
  position: sticky;
  top: 96px;
}

.showcase-phone {
  width: min(100%, 330px);
  margin: 0 auto;
}

.showcase-phone img {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out), filter 180ms var(--ease-out);
}

.showcase-phone img.switching {
  opacity: .92;
  transform: scale(.995);
  filter: blur(.5px);
}

.feature-steps {
  display: grid;
  gap: 5px;
  height: 100%;
}

.feature-step {
  width: 100%;
  /* min-height: 30vh; */
  padding: 16px 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background-color 180ms var(--ease-out);
  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
}

.feature-step:active {
  transform: scale(.99);
}

.feature-step h3 {
  margin-bottom: 8px;
  font-size: 28px;
}

.feature-step p {
  margin: 0;
  color: var(--sub);
  font: inherit;
  font-size: 17px;
}

.feature-step.is-active {
  border-color: rgba(254, 84, 53, .42);
  box-shadow: 0 18px 44px rgba(15, 27, 45, .08);
}

.run-section {
  padding: 64px 0;
  color: var(--white);
  background: var(--navy);
}

.run-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
  overflow: hidden;
}

.run-strip p {
  color: rgba(255, 255, 255, .72);
  max-width: 520px;
}

.run-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.run-watch {
  width: 120px;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--white);
}

.cta-logo {
  width: min(360px, 100%);
  margin-bottom: 20px;
}

.cta p {
  max-width: 620px;
  margin-bottom: 22px;
  color: var(--sub);
}

.store-panel {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.store-note {
  margin: 0;
  color: var(--sub);
  font-size: 15px;
  font-weight: 700;
}

.store-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}

.store-badges img {
  height: 44px;
  width: auto;
}

.store-badges a[aria-disabled="true"] {
  opacity: .58;
  pointer-events: none;
}

.faq-section {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--cream);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--coral);
  font-size: 24px;
  line-height: 1;
  transition: transform 160ms var(--ease-out);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--sub);
}

footer {
  padding: 36px 0 52px;
  border-top: 1px solid var(--border);
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.foot img {
  width: 154px;
}

.foot-links {
  display: flex;
  gap: 18px;
  color: var(--sub);
  font-size: 14px;
  font-weight: 700;
}

.copy {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(254, 84, 53, .30);
  }

  .feature-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(15, 27, 45, .07);
  }
}

@media (max-width: 980px) {

  .hero,
  .feature-scroll,
  .run-strip,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero {
    min-height: auto;
    gap: 40px;
  }

  .feature-step {
    min-height: 240px;
  }

  .run-images {
    max-width: 520px;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .feature-scroll {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
  }

  .showcase-phone {
    width: 240px;
  }

  .feature-step {
    min-height: 260px;
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 32px, 1120px);
  }

  .brand img {
    width: 128px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .nav-links .btn {
    min-height: 44px;
    padding: 7px 12px;
    font-size: 13px;
  }

  .hero {
    gap: 30px;
    padding: 32px 10px 42px;
  }

  h1 {
    margin-bottom: 16px;
    font-size: clamp(36px, 11vw, 46px);
    line-height: 1.14;
  }

  h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .lead {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .note {
    margin-top: 10px;
    font-size: 12px;
  }

  .hero-visual {
    min-height: 350px;
    width: 260px;
    margin: 0 auto;
  }

  .phone img {
    width: 100%;
    height: 300px;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .section-head p {
    font-size: 15px;
  }

  .feature-step {
    min-height: auto;
    padding: 18px;
    border-radius: 14px;
  }

  .feature-step h3 {
    margin-bottom: 6px;
    font-size: 22px;
  }

  .feature-step p {
    font-size: 15px;
  }

  .feature-section {
    padding-top: 46px;
  }

  .feature-scroll {
    gap: 14px;
  }

  .sticky-phone {
    top: 64px;
    z-index: 4;
    padding: 10px 0 8px;
    background: #fffaf7;
  }

  .showcase-phone {
    width: 360px;
    height: 300px;
    overflow: hidden;
  }

  .showcase-phone img {
    border-radius: 17px;
  }

  section {
    padding: 46px 0;
  }

  .run-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    /* max-width: 330px; */
  }

  .run-strip {
    gap: 26px;
    padding: 0;
  }

  .run-section {
    padding: 44px 0;
  }

  .run-phone {
    padding: 5px;
    border-radius: 22px;
  }

  .run-phone img {
    border-radius: 17px;
  }

  .cta {
    gap: 22px;
    padding: 22px 18px;
    border-radius: 16px;
  }

  .cta-logo {
    width: min(250px, 100%);
    margin-bottom: 16px;
  }

  .cta p {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .store-panel {
    gap: 10px;
  }

  .store-badges img {
    height: 34px;
  }

  .faq-list summary {
    padding: 16px;
    font-size: 16px;
  }

  .faq-list p {
    padding: 0 16px 16px;
    font-size: 14px;
  }

  footer {
    padding: 28px 0 38px;
  }

  .foot img {
    width: 132px;
  }

  .foot-links {
    gap: 14px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {

  .hero-copy>*,
  .hero-visual .phone {
    animation: contentIn 520ms var(--ease-out) both;
  }

  .hero-copy> :nth-child(2) {
    animation-delay: 70ms;
  }

  .hero-copy> :nth-child(3) {
    animation-delay: 120ms;
  }

  .hero-copy> :nth-child(4) {
    animation-delay: 170ms;
  }

  .hero-visual .phone.primary {
    animation-name: visualIn;
    animation-delay: 120ms;
  }

  .hero-visual .phone.peek {
    animation-name: visualIn;
    animation-delay: 200ms;
  }

  .reveal.delay-1 {
    animation-delay: 60ms;
  }

  .reveal.delay-2 {
    animation-delay: 120ms;
  }
}

@keyframes contentIn {
  from {
    opacity: .01;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes visualIn {
  from {
    opacity: .01;
    filter: blur(8px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}