@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700;750;800;850;900&family=Kalam:wght@400&display=swap');

:root {
  color-scheme: light;
  --text: #0c1226;
  --muted: #62708d;
  --blue: #075bff;
  --line: #e9eef6;
  font-family: 'DM Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: #fbfcff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: radial-gradient(ellipse at 74% 25%, #edf5ff66, transparent 37%), linear-gradient(#fff, #f9fbff 75%, #fff); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 20px; background: var(--text); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header, main, .site-footer { position: relative; z-index: 1; width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.site-header { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 900; letter-spacing: -1px; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.site-header nav { display: flex; align-items: center; gap: 36px; margin-left: 32px; }
.site-header nav a { padding: 12px 0; font-size: 14px; font-weight: 650; transition: color .2s; }
.site-header nav a:hover, .footer-bottom a:hover { color: var(--blue); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; padding: 14px 27px; border-radius: 100px; background: var(--blue); color: white; font-size: 14px; font-weight: 650; box-shadow: 0 4px 12px #075bff0a; transition: transform .2s, background .2s, box-shadow .2s; }
.button .icon { width: 17px; height: 17px; }
.button:hover { background: #004bdb; transform: translateY(-2px); box-shadow: 0 8px 20px #075bff25; }
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 20px; align-items: center; padding: 38px 0 52px; }
.hero-copy { position: relative; z-index: 2; min-width: 0; padding-bottom: 10px; }
.eyebrow { color: var(--blue); font-size: 11px; font-weight: 750; letter-spacing: 2.2px; text-transform: uppercase; margin-bottom: 15px; }
h1 { font-size: clamp(43px, 4.45vw, 66px); font-weight: 900; line-height: 1.035; letter-spacing: -3px; margin-bottom: 22px; }
h1 span { color: var(--blue); }
.lead { max-width: 490px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.store-links { display: flex; align-items: center; gap: 14px; margin: 25px 0 22px; scroll-margin-top: 36px; }
.store-links a { display: block; border-radius: 10px; transition: transform .2s; }
.store-links a:hover { transform: translateY(-3px); }
.store-links img { width: auto; height: 53px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 505px; }
.stat { display: flex; align-items: center; gap: 11px; padding: 13px 12px; background: #ffffffc9; border: 1px solid #f0f3f8; border-radius: 17px; box-shadow: 0 4px 22px #304e8210; }
.stat-icon { display: grid; place-items: center; width: 42px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.stat-icon .icon { width: 28px; height: 28px; }
.green { color: #24b761; background: #eefbf2; }
.yellow { color: #ffb600; background: #fff9e9; }
.yellow .icon { fill: currentColor; stroke-width: 1; }
.red { color: #ff4264; background: #fff0f3; }
.stat strong { display: block; font-size: 23px; line-height: 1.2; letter-spacing: -.6px; font-weight: 850; }
.stat strong small { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.stat div > span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; white-space: nowrap; }

/* Crop the existing store artwork to its real app screen; preserve the source assets. */
.hero-visual { position: relative; height: 520px; width: 100%; max-width: 670px; justify-self: center; margin-bottom: 64px; }
.phone { position: absolute; padding: 6px; border: 2px solid #777b80; border-radius: 36px; background: #121416; box-shadow: 0 2px 0 1px #222, inset 0 0 0 2px #333, 8px 20px 32px #172a3a26; }
.phone-screen { position: relative; aspect-ratio: 900 / 1946; overflow: hidden; border-radius: 28px; background: #f7f8fe; }
.phone-screen img { position: absolute; max-width: none; width: 160%; height: auto; left: -29.78%; top: -28.06%; }
.phone-main { width: 238px; left: 50%; top: 3px; z-index: 3; transform: translateX(-50%) rotate(3deg); }
.phone-left, .phone-right { width: 191px; top: 97px; z-index: 2; border-radius: 31px; }
.phone-left .phone-screen, .phone-right .phone-screen { border-radius: 23px; }
.phone-left { left: 8%; transform: rotate(-11deg); }
.phone-right { right: 7%; transform: rotate(11deg); }
.visual-glow { position: absolute; inset: 60px -20px -10px; background: radial-gradient(ellipse at 50% 55%, #dceaff99, transparent 67%), radial-gradient(ellipse at 60% 85%, #e0f1e5a6, transparent 52%); border-radius: 50%; }
.soft-tile { position: absolute; width: 78px; height: 78px; border-radius: 20px; background: #e8f2ff; transform: rotate(24deg); }
.visual-tile-one { top: 47px; left: 16%; transform: rotate(-16deg); }
.visual-tile-two { top: 244px; right: -8px; }
.hand-note { position: absolute; z-index: 4; font-family: 'Kalam', 'Segoe Print', cursive; color: #465374; font-size: 17px; line-height: 1.3; transform: rotate(-9deg); }
.hand-note svg { position: absolute; width: 58px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.note-top { top: -1px; right: 1%; }
.note-top svg { top: 20px; left: -61px; }
/* Keep the caption below the phones, within the space reserved by hero-visual. */
.note-bottom { top: calc(100% + 12px); right: 8px; font-size: 15px; line-height: 1.5; transform: rotate(-3deg); }
.note-bottom svg { top: -38px; left: 24px; width: 36px; height: 43px; color: #ff536c; }
.confetti { position: absolute; left: 3%; bottom: 13px; color: #ffbc19; font-size: 40px; transform: rotate(15deg); }
.page-decoration { position: absolute; width: 100%; height: 820px; inset: 0 0 auto; pointer-events: none; overflow: hidden; }
.floating-cube { --size: 70px; --light: #ff7373; --medium: #ff3d45; --dark: #d92632; position: absolute; display: block; width: var(--size); height: var(--size); transform: rotate(-21deg); filter: drop-shadow(0 8px 8px #172d4b0c); }
.floating-cube i { position: absolute; inset: 0; border-radius: 9px; }
.floating-cube i:nth-child(1) { clip-path: polygon(0 22%, 56% 0, 100% 24%, 43% 48%); background: linear-gradient(135deg, var(--light), var(--medium)); }
.floating-cube i:nth-child(2) { clip-path: polygon(0 22%, 43% 48%, 43% 100%, 0 73%); background: linear-gradient(120deg, var(--medium), var(--dark)); }
.floating-cube i:nth-child(3) { clip-path: polygon(43% 48%, 100% 24%, 100% 77%, 43% 100%); background: linear-gradient(145deg, var(--light), var(--medium) 40%, var(--dark)); }
.cube-red { --size: 69px; top: -4px; left: 0; transform: rotate(12deg); }
.cube-yellow { --size: 165px; --light: #fff495; --medium: #ffdc3e; --dark: #eabe26; top: 125px; left: -95px; filter: blur(2px); transform: rotate(-22deg); }
.cube-blue { --size: 156px; --light: #7bb1ff; --medium: #2f7dfa; --dark: #1250c9; top: 190px; right: -89px; transform: rotate(13deg); }
.cube-green { --size: 138px; --light: #8ee8a7; --medium: #46cb73; --dark: #239c53; top: 476px; right: -80px; filter: blur(3px); transform: rotate(-14deg); }
.tile-one { top: 345px; left: -22px; }
.tile-two { top: 490px; left: -64px; width: 118px; height: 118px; background: #ffecf0; transform: rotate(35deg); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 4px; }
.feature-card { display: flex; align-items: flex-start; gap: 19px; position: relative; padding: 25px 22px; border: 1px solid #fff; border-radius: 20px; transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px #1d355512; }
.feature-red { --accent: #ff3c60; background: linear-gradient(120deg, #fff0f3, #fff4f5); }
.feature-blue { --accent: #2876ff; background: linear-gradient(120deg, #eaf2ff, #eff5ff); }
.feature-green { --accent: #27b959; background: linear-gradient(120deg, #e7f6ed, #eefaf3); }
.feature-icon { display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 68px; border-radius: 20px; background: linear-gradient(140deg, color-mix(in srgb, var(--accent), white 22%), var(--accent)); color: #fff; box-shadow: inset 0 0 0 1px #ffffff65, 0 3px 0 #ffffff; }
.feature-icon .icon { width: 34px; height: 34px; stroke-width: 1.7; }
.feature-card h2 { font-size: 18px; letter-spacing: -.5px; line-height: 1.25; font-weight: 800; margin-bottom: 7px; }
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.65; padding-right: 15px; }
.feature-arrow { display: grid; place-items: center; position: absolute; right: 14px; bottom: 19px; width: 26px; height: 26px; border-radius: 50%; color: var(--accent); background: #ffffffcf; }
.feature-arrow .icon { width: 15px; height: 15px; stroke-width: 2.3; }
.puzzles { display: grid; grid-template-columns: .9fr 2fr; align-items: center; gap: 34px; padding: 36px 0 38px; }
.puzzles .eyebrow { font-size: 10px; letter-spacing: 1.3px; color: #526381; margin-bottom: 7px; }
h2 { font-size: 36px; letter-spacing: -1.3px; font-weight: 850; line-height: 1.12; }
.puzzles-copy h2 { font-size: 32px; margin-bottom: 9px; white-space: nowrap; }
.puzzles-copy > p:last-child { font-size: 13px; color: var(--muted); line-height: 1.5; }
.puzzle-list { list-style: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 9px; padding: 0; margin: 0; }
.puzzle-list li { display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 8px; min-height: 105px; padding: 10px 4px; border: 1px solid #ecf0f7; border-radius: 15px; background: #ffffffd6; box-shadow: 0 4px 18px #35588904; }
.puzzle-list img { width: 55px; height: 58px; filter: drop-shadow(0 3px 2px #22335a0c); }
.puzzle-list li > span:last-child { font-size: 11px; font-weight: 650; }
.ellipsis { height: 58px; display: grid; place-items: center; font-size: 20px; letter-spacing: 3px; color: #4c5a79; }
.learn-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; border-top: 1px solid var(--line); padding: 64px 24px; }
.learn-intro h2 { margin-bottom: 18px; font-size: 40px; }
.learn-intro > p:not(.eyebrow), .method-catalog-header > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.7; max-width: 370px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); font-weight: 700; font-size: 14px; margin-top: 22px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 19px; }
.learning-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 26px; }
.learning-steps li { display: flex; gap: 21px; }
.step-number { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 14px; background: #eaf1ff; color: var(--blue); font-size: 13px; font-weight: 750; }
.learning-steps li:nth-child(2) .step-number { color: #d42e51; background: #fff0f3; }
.learning-steps li:nth-child(3) .step-number { color: #168e43; background: #e9f7ee; }
.learning-steps h3 { font-size: 17px; font-weight: 750; letter-spacing: -.3px; margin-bottom: 6px; }
.learning-steps p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.method-catalog { display: grid; grid-template-columns: 1fr 1.5fr; gap: 44px; background: #eff4fd; border: 1px solid #e8eef9; border-radius: 24px; padding: 36px; margin-bottom: 48px; }
.method-catalog h2 { font-size: 29px; margin-bottom: 13px; }
.method-catalog .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
.method-columns { display: grid; grid-template-columns: .8fr 1.3fr 1fr; gap: 20px; }
.method-group h3 { font-size: 11px; font-weight: 750; letter-spacing: .8px; text-transform: uppercase; margin: 2px 0 14px; color: #52617c; }
.method-chips { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; }
.method-chips span { font-size: 11px; font-weight: 550; padding: 7px 10px; background: #ffffffb8; border: 1px solid #e0e8f4; border-radius: 8px; }
.site-footer { padding-bottom: 20px; }
.footer-main { display: flex; align-items: center; gap: 24px; padding: 23px 28px; border-radius: 22px; background: #eef4ff; }
.footer-main .brand { font-size: 19px; }
.footer-main .brand img { width: 34px; height: 34px; border-radius: 10px; }
.footer-main > p { color: var(--muted); font-size: 12px; }
.footer-main .button { margin-left: auto; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 23px 5px 4px; font-size: 11px; color: var(--muted); }

/* The policy shares the light theme without changing its content. */
.privacy-page { max-width: 900px; padding: 40px 0 70px; }
.privacy-card { border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 5vw, 58px); background: #fff; box-shadow: 0 12px 50px #25355b08; }
.privacy-card h1 { font-size: clamp(34px, 5vw, 54px); letter-spacing: -1.6px; }
.privacy-card h2 { font-size: 24px; letter-spacing: -.6px; margin: 30px 0 12px; }
.privacy-card p, .privacy-card li { color: var(--muted); line-height: 1.75; font-size: 15px; margin-bottom: 14px; overflow-wrap: anywhere; }
.privacy-card a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.privacy-card .raw-policy-link { margin-top: 35px; padding-top: 20px; border-top: 1px solid var(--line); }
.privacy-page + .site-footer { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }

@media (min-width: 1600px) {
  .hero { padding-top: 48px; padding-bottom: 62px; }
  .hero-visual { height: 550px; }
  .phone-main { width: 254px; }
  .phone-left, .phone-right { width: 207px; }
}
@media (max-width: 1199px) {
  .site-header, main, .site-footer { width: calc(100% - 64px); }
  .hero { gap: 12px; }
  h1 { font-size: clamp(38px, 4.5vw, 54px); letter-spacing: -2.2px; }
  .hero-visual { height: 460px; }
  .phone-main { width: 210px; top: 12px; }
  .phone-left, .phone-right { width: 164px; top: 91px; }
  .note-top { font-size: 14px; right: -7px; }
  .note-bottom { font-size: 13px; }
  .lead { font-size: 15px; max-width: 420px; }
  .stat { gap: 7px; padding: 12px 9px; }
  .stat-icon { width: 33px; height: 38px; }
  .stat-icon .icon { width: 24px; }
  .stat strong { font-size: 20px; }
  .stat div > span { font-size: 10px; }
  .features { gap: 12px; }
  .feature-card { gap: 13px; padding: 21px 16px; }
  .feature-icon { width: 47px; height: 51px; border-radius: 15px; }
  .feature-icon .icon { width: 28px; }
  .feature-card h2 { font-size: 16px; }
  .feature-card p { font-size: 12px; }
  .puzzles { grid-template-columns: 1fr; gap: 20px; }
  .puzzle-list li { min-height: 109px; }
  .puzzles-copy { text-align: center; }
  .learn-section { gap: 48px; padding: 48px 8px; }
  .method-catalog { grid-template-columns: 1fr; gap: 26px; }
  .method-catalog-header > p:not(.eyebrow) { max-width: 540px; }
}
@media (min-width: 601px) and (max-width: 1500px) {
  .cube-yellow { left: -132px; }
  .cube-blue { right: -118px; }
  .cube-green { right: -105px; }
  .tile-one { left: -49px; }
}
@media (max-width: 900px) {
  .site-header { height: 84px; }
  .site-header nav { gap: 23px; margin: 0; }
  .brand { font-size: 21px; gap: 9px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px 0 44px; }
  .hero-copy { text-align: center; }
  h1 { font-size: clamp(45px, 7.5vw, 66px); letter-spacing: -2.7px; }
  .lead { max-width: 490px; margin-inline: auto; font-size: 16px; }
  .store-links { justify-content: center; }
  .hero-stats { margin-inline: auto; text-align: left; }
  .stat { padding: 13px 15px; gap: 12px; }
  .stat strong { font-size: 22px; }
  .stat div > span { font-size: 11px; }
  .hero-visual { width: 100%; max-width: 530px; min-width: 0; height: 500px; }
  .phone-main { width: 230px; }
  .phone-left, .phone-right { width: 184px; top: 85px; }
  .note-top { right: 0; }
  .features { grid-template-columns: 1fr; }
  .feature-card { align-items: center; padding: 22px; gap: 20px; }
  .feature-icon { width: 58px; height: 62px; }
  .feature-card h2 { font-size: 19px; }
  .feature-card p { font-size: 14px; padding-right: 26px; }
  .feature-arrow { right: 20px; top: calc(50% - 15px); }
  .puzzle-list { gap: 7px; }
  .learn-section { gap: 30px; }
  .learn-intro h2 { font-size: 33px; }
  .footer-main { flex-wrap: wrap; gap: 17px; }
  .footer-main > p { flex-basis: calc(100% - 195px); }
  .footer-main .button { margin-left: 0; }
}
@media (max-width: 600px) {
  .site-header, main, .site-footer { width: calc(100% - 36px); }
  .site-header { height: auto; padding: 20px 0 14px; flex-wrap: wrap; gap: 19px; }
  .site-header .brand { font-size: 22px; }
  .brand img { width: 37px; height: 37px; }
  .header-download { padding: 11px 19px; font-size: 12px; }
  .header-download .icon { display: none; }
  .site-header nav { order: 3; justify-content: center; width: 100%; gap: 39px; }
  .site-header nav a { font-size: 13px; padding: 6px 0; }
  .hero { padding: 26px 0 35px; gap: 24px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.8px; margin-bottom: 15px; }
  h1 { font-size: clamp(31px, 8.5vw, 49px); letter-spacing: -1.7px; line-height: 1.08; margin-bottom: 18px; }
  .lead { font-size: 14px; line-height: 1.7; max-width: 370px; }
  .store-links { gap: 10px; margin: 21px 0; }
  .store-links img { height: 44px; max-width: 100%; }
  .hero-stats { gap: 6px; }
  .stat { padding: 11px 5px; gap: 7px; justify-content: center; }
  .stat-icon { width: 25px; height: 33px; border-radius: 8px; }
  .stat-icon .icon { width: 20px; height: 20px; }
  .stat strong { font-size: 18px; }
  .stat strong small { display: none; }
  .stat div > span { font-size: 9px; }
  .hero-visual { height: 390px; max-width: 360px; }
  .phone { padding: 4px; border-radius: 27px; }
  .phone-screen { border-radius: 21px; }
  .phone-main { width: 173px; top: 8px; }
  .phone-left, .phone-right { width: 133px; top: 66px; border-radius: 23px; }
  .phone-left .phone-screen, .phone-right .phone-screen { border-radius: 17px; }
  .phone-left { left: 8%; }
  .phone-right { right: 8%; }
  .visual-glow { inset: 60px 0 -10px; }
  .note-top { font-size: 11px; top: -4px; right: 0; }
  .note-top svg { width: 36px; left: -37px; top: 15px; }
  .note-bottom { top: calc(100% + 8px); font-size: 12px; }
  .cube-red { --size: 43px; top: 0; left: 4%; }
  .soft-tile { width: 53px; height: 53px; border-radius: 13px; }
  .visual-tile-two { right: 16px; top: 205px; }
  .confetti { font-size: 28px; bottom: 26px; }
  .cube-yellow { --size: 100px; left: -77px; top: 220px; }
  .cube-blue { --size: 100px; right: -79px; top: 300px; }
  .cube-green, .tile-one, .tile-two { display: none; }
  .feature-card { padding: 20px 17px; gap: 15px; border-radius: 17px; }
  .feature-icon { width: 49px; height: 54px; border-radius: 15px; }
  .feature-card h2 { font-size: 16px; }
  .feature-card p { font-size: 12px; padding-right: 15px; }
  .feature-arrow { right: 11px; width: 23px; height: 23px; }
  .puzzles { padding: 32px 0; gap: 21px; }
  .puzzles-copy h2 { font-size: 29px; }
  .puzzle-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .puzzle-list li { min-height: 98px; border-radius: 13px; }
  .puzzle-list img { width: 49px; height: 53px; }
  .learn-section { grid-template-columns: 1fr; padding: 38px 3px; gap: 30px; }
  .learn-intro h2 { font-size: 34px; }
  .learn-intro h2 br { display: contents; }
  .learning-steps { gap: 23px; }
  .learning-steps li { gap: 15px; }
  .learning-steps h3 { font-size: 16px; }
  .learning-steps p { font-size: 13px; }
  .method-catalog { padding: 25px 22px; border-radius: 20px; margin-bottom: 30px; }
  .method-catalog h2 { font-size: 28px; }
  .method-columns { grid-template-columns: 1fr; gap: 22px; }
  .method-group h3 { margin-bottom: 10px; }
  .footer-main { padding: 23px; gap: 15px; }
  .footer-main > p { flex-basis: 100%; line-height: 1.5; }
  .footer-main .button { margin-top: 3px; }
  .footer-bottom { font-size: 10px; padding-top: 20px; }
  .footer-bottom > span { display: none; }
  .privacy-page { padding-top: 20px; }
}
@media (max-width: 380px) {
  .stat-icon { display: none; }
  .stat { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
