@font-face {
  font-family: "Lora";
  src: url("/assets/ss-nd/design/fonts/lora-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/ss-nd/design/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/ss-nd/design/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/ss-nd/design/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/ss-nd/design/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/assets/ss-nd/design/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  
  --fam-white: #ffffff;
  --fam-card: #fffefb;
  --fam-paper: #fdfcf9;
  --fam-linen: #faf6f0;
  --fam-shell: #edf1e9;
  --fam-soft: #eaf0e9;
  --fam-tint: #dfe8d5;
  --fam-line: #e4ded3;
  --fam-line-sage: #d5dfd1;
  --fam-green: #5f7263;
  --fam-green-down: #4e5f53;
  --fam-headline: #506957;        
  --fam-headline-deep: #3b5546;   
  --fam-ink: #26241f;             
  --fam-body: #403d37;
  --fam-muted: #5f5b54;           
  --fam-highlight: #f8ebb8;       
  --fam-highlight-active: #dcead9;
  --fam-del-bg: #f3eae2;          
  --fam-del-ink: #6a5248;
  --fam-add-bg: #e1eee3;
  --fam-add-ink: #294c34;
  --fam-focus: #506957;

  
  --ef-mark-grammar: #5f9580;
  --ef-mark-spelling: #bc6a5c;
  --ef-mark-clarity: #7c88bc;

  
  --bg-white: var(--fam-white);
  --bg-sage: var(--fam-shell);
  --bg-linen: var(--fam-linen);
  --bg-card: var(--fam-card);
  --bg-subtle: var(--fam-soft);
  --bg-tint: var(--fam-tint);
  --bg-nav: rgba(255, 255, 255, 0.94);
  --border-main: var(--fam-line);
  --border-sage: var(--fam-line-sage);
  --text-ink: var(--fam-ink);
  --text-body: var(--fam-body);
  --text-muted: var(--fam-muted);
  --accent: var(--fam-headline);
  --btn-bg: var(--fam-green);
  --btn-bg-hover: var(--fam-green-down);
  --btn-ink: #ffffff;

  
  --fam-dark-bg: #1b241e;
  --fam-dark-surface: #233028;
  --fam-dark-surface-2: #2b3a31;
  --fam-dark-ink: #f5f4ef;
  --fam-dark-body: #d6dcd7;
  --fam-dark-muted: #a6b4aa;
  --fam-dark-accent: #9ec2a7;
  --fam-dark-line: rgba(245, 244, 239, 0.14);

  
  --ef-wrap: 1440px;
  --ef-pad-x: 24px;
  --ef-pad-x-mobile: 16px;
  --ef-sec-y: 136px;              
  --ef-sec-y-mobile: 64px;
  --ef-header-h: 56px;            
  --ef-header-h-mobile: 50px;
  --ef-curtain-h: 528px;          
  --ef-ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  
  --ef-r-hero: 40px;              
  --ef-r-platform: 36px;          
  --ef-r-stage: 28px;             
  --ef-r-tile: 22px;              
  --ef-r-pill: 9999px;            

  
  --ef-hero-grad: linear-gradient(135deg, #3c5445 0%, #526c5a 52%, #2c4134 100%);
  --ef-promo-grad: linear-gradient(135deg, #2b4033 0%, #466150 54%, #1d2f24 100%);
  --ef-stage-grad: linear-gradient(165deg, #e9f0e6 0%, #faf6f0 100%);
  --ef-curtain-bg: var(--bg-sage);
  --ef-card-sage: #edf2eb;
  --ef-card-oat: #f6f1e8;
  --ef-sent-hl: #eaf2eb;          
  --ef-word-hl: #c7e0cc;          

  
  --sf: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --df: "Lora", Georgia, serif;   
  --brand-font: "Poppins", "Inter", system-ui, sans-serif;

  
  --shadow-win: 0 24px 60px -24px rgba(27, 36, 30, 0.16), 0 2px 10px rgba(27, 36, 30, 0.05);
  --shadow-card: 0 6px 20px -8px rgba(38, 36, 31, 0.08);
  --shadow-nav: 0 4px 18px rgba(27, 36, 30, 0.06);
}

[data-theme="dark"] {
  --bg-white: #18211c;
  --bg-sage: #25332b;
  --bg-linen: #29312a;
  --bg-card: #1f2b24;
  --bg-subtle: #2b3a31;
  --bg-tint: #354a3d;
  --bg-nav: rgba(24, 33, 28, 0.94);
  --border-main: rgba(245, 244, 239, 0.14);
  --border-sage: rgba(158, 194, 167, 0.24);
  --text-ink: #f5f4ef;            
  --text-body: #dce1dc;
  --text-muted: #b0bdb3;
  --accent: #9ec2a7;              
  --btn-bg: #5f7263;
  --btn-bg-hover: #718876;
  --btn-ink: #ffffff;
  --fam-highlight: rgba(238, 206, 118, 0.28);
  --fam-highlight-active: rgba(158, 194, 167, 0.28);
  --fam-del-bg: rgba(212, 138, 122, 0.2);
  --fam-del-ink: #f0c2b8;
  --fam-add-bg: rgba(158, 194, 167, 0.22);
  --fam-add-ink: #c8e5cf;
  --ef-hero-grad: linear-gradient(135deg, #23352a 0%, #31483a 52%, #19271f 100%);
  --ef-promo-grad: linear-gradient(135deg, #1f3126 0%, #30493a 54%, #15221a 100%);
  --ef-curtain-bg: var(--bg-card);
  --ef-card-sage: #1f2b24;
  --ef-card-oat: #242b23;
  --ef-sent-hl: rgba(158, 194, 167, 0.14);
  --ef-word-hl: rgba(158, 194, 167, 0.34);
  --shadow-win: 0 28px 64px -20px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(245, 244, 239, 0.08);
  --shadow-card: 0 8px 24px -10px rgba(0, 0, 0, 0.36);
  --shadow-nav: 0 4px 18px rgba(0, 0, 0, 0.32);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sf);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--bg-tint);
  color: var(--text-ink);
}

[hidden] {
  display: none !important;
}

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

:is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
  textarea,
  select,
  [contenteditable]
):is(:focus, :focus-visible) {
  outline: none;
}

.ef-wrap,
.m5-wrap,
.wrap {
  width: 100%;
  max-width: var(--ef-wrap);
  margin: 0 auto;
  padding: 0 var(--ef-pad-x);
}

.ef-wrap--narrow,
.wrap--narrow {
  max-width: 980px;
}

.band {
  padding: var(--ef-sec-y) 0;
  position: relative;
}

.band--white { background-color: var(--bg-white); }
.band--linen { background-color: var(--bg-linen); }
.band--sage  { background-color: var(--bg-sage); }
.band--dark  {
  background-color: var(--fam-dark-bg);
  color: var(--fam-dark-body);
}

[data-theme="dark"] .band--dark {
  background-color: #0b110d;
}

h1, .ef-h1 {
  font-family: var(--sf);
  font-weight: 500;
  font-size: 64px;
  line-height: 76px;
  letter-spacing: -0.02em;
  color: var(--text-ink);
  margin: 0;
  text-wrap: balance;
}

h2, .ef-h2 {
  font-family: var(--sf);
  font-weight: 500;
  font-size: 64px;
  line-height: 76px;
  letter-spacing: -0.02em;
  color: var(--text-ink);
  margin: 0;
  text-wrap: balance;
}

h3, .ef-h3 {
  font-family: var(--sf);
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.02em;
  color: var(--text-ink);
  margin: 0;
}

.ef-subhead,
.m5-hero-sub {
  font-family: var(--sf);
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}

.m5-sec-head {
  text-align: center;
  margin: 0 auto 64px;
  max-width: 820px;
}

.m5-sec-head .ef-subhead {
  margin: 18px auto 0;
  max-width: 688px;
}

.band--dark h1,
.band--dark h2,
.band--dark h3 {
  color: var(--fam-dark-ink);
}

.ef-cta,
.m5-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 64px;
  padding: 0 48px;
  border-radius: var(--ef-r-pill);
  border: 0;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--sf);
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background-color 150ms ease, color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ef-cta:hover,
  .m5-cta:hover {
    background: var(--fam-headline-deep);
  }
}

[data-theme="dark"] .ef-cta,
[data-theme="dark"] .m5-cta {
  background: #5f7263;
  color: #ffffff;
}

@media (hover: hover) and (pointer: fine) {
  [data-theme="dark"] .ef-cta:hover,
  [data-theme="dark"] .m5-cta:hover {
    background: #4e5f53;
  }
}

.ef-cta--white,
.m5-cta--white,
[data-theme="dark"] .ef-cta--white,
[data-theme="dark"] .m5-cta--white {
  background: #fffefb;
  color: #26241f;
}

@media (hover: hover) and (pointer: fine) {
  .ef-cta--white:hover,
  .m5-cta--white:hover,
  [data-theme="dark"] .ef-cta--white:hover,
  [data-theme="dark"] .m5-cta--white:hover {
    background: #edf1e9;
    color: #26241f;
  }
}

.ef-store-pill,
.store-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 64px;
  padding: 0 24px;
  border-radius: var(--ef-r-pill);
  border: 0;
  background: #ffffff;
  color: #26241f;
  font-family: var(--sf);
  font-size: 19px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: background-color 150ms ease, color 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .ef-store-pill:hover,
  .store-pill:hover {
    background: var(--bg-tint);
    color: #1b241e;
  }
}

[data-theme="dark"] .ef-store-pill,
[data-theme="dark"] .store-pill {
  background: #fffefb;
  color: #1c241f;
}

@media (hover: hover) and (pointer: fine) {
  [data-theme="dark"] .ef-store-pill:hover,
  [data-theme="dark"] .store-pill:hover {
    background: #e3ece3;
    color: #151c17;
  }
}

.store-pill-ico {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store-pill-ico svg,
.store-pill-ico img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.store-pill-ico--apple { width: 24px; height: 24px; transform: translateY(-1px); }
.store-pill-ico--win   { width: 23px; height: 23px; }
.store-pill-ico--web   { width: 24px; height: 24px; }

.rw {
  border-radius: 4px;
  padding: 1px 2px;
  margin: 0 -1px;
  transition: background-color 100ms ease, color 100ms ease;
}

.rw.is-spoken {
  background-color: var(--ef-word-hl);
  color: var(--text-ink);
}

[lang="zh"] .ef-mini-w { padding: 0; }
[lang="zh"] .ef-mini-w.is-on { padding: 0 2px; margin: 0 -2px; }

.diff-del {
  background: var(--fam-del-bg);
  color: var(--fam-del-ink);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  padding: 1px 5px;
  border-radius: 5px;
}

.diff-add {
  background: var(--fam-add-bg);
  color: var(--fam-add-ink);
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 5px;
}

@media (max-width: 1279px) {
  h1, .ef-h1 { font-size: 56px; line-height: 64px; }
  h2, .ef-h2 { font-size: 40px; line-height: 48px; }
  h3, .ef-h3 { font-size: 24px; line-height: 32px; }
  .ef-subhead, .m5-hero-sub { font-size: 20px; line-height: 26px; }
}

@media (max-width: 767px) {
  :root {
    --ef-pad-x: var(--ef-pad-x-mobile);
    --ef-sec-y: var(--ef-sec-y-mobile);
    --ef-header-h: var(--ef-header-h-mobile);
  }
  h1, .ef-h1 { font-size: 38px; line-height: 44px; }
  h2, .ef-h2 { font-size: 30px; line-height: 34px; }
  h3, .ef-h3 { font-size: 20px; line-height: 24px; }
  .ef-subhead, .m5-hero-sub { font-size: 18px; line-height: 24px; }
  .m5-sec-head { margin-bottom: 36px; }
  .ef-cta, .m5-cta { width: 100%; max-width: 358px; height: 60px; padding: 0 24px; font-size: 18px; }
  .ef-store-pill, .store-pill { height: 58px; font-size: 17px; gap: 11px; }
  .store-pill-ico { width: 24px; height: 24px; }
  .store-pill-ico--apple { width: 22px; height: 22px; }
  .store-pill-ico--win   { width: 21px; height: 21px; }
  .store-pill-ico--web   { width: 22px; height: 22px; }
}

@media (max-width: 360px) {
  :root { --ef-pad-x: 12px; }
}

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