*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 78% 30%,#c2ede5,transparent 53%),linear-gradient(145deg,#e9e7fa,#eff7fb 65%,#d0e8f5);font:16px/1.45 system-ui,sans-serif;color:#142442;min-height:100dvh;display:grid;place-items:center;padding:20px}#app{position:relative;width:min(100%,450px);min-height:680px;border-radius:30px;overflow:hidden;background:#091a33;box-shadow:0 22px 75px #11355035;color:#fff;display:flex;flex-direction:column}.hero{text-align:center;flex:1;display:flex;flex-direction:column;justify-content:flex-end;padding:35px 28px 26px;background:linear-gradient(#051326 0%,#081a34 27%,transparent 54%,#061528 88%),url(camino.png) center 61%/100% auto no-repeat}.brand{width:66px;border-radius:18px}.hero header{margin-bottom:auto}.hero h1{font-size:49px;margin:0}.hero p{margin-top:0;font-size:18px}.hero .cta{margin-top:265px}.top{padding:19px 24px;display:flex;align-items:center;gap:12px}.surface{background:#f8fbfd;color:#142442;border-radius:34% 34% 0 0/24px 24px 0 0;padding:28px 24px 24px;flex:1;display:flex;flex-direction:column}.surface h1,.dark h1{font-size:26px;line-height:1.13;margin:0 0 10px}.surface p,.dark p{margin:0 0 16px}.dots{text-align:center;color:#77d6c4;flex:1;letter-spacing:5px}.dark{padding:22px 24px;flex:1;background:radial-gradient(ellipse at 100% 20%,#155272,transparent 64%)}button,input{font:inherit}button{cursor:pointer}.back{border:0;background:transparent;color:inherit;padding:4px 9px}.cta{width:100%;border:0;border-radius:18px;background:linear-gradient(100deg,#10596b,#087d78);color:white;font-weight:750;padding:13px 16px}.dark .cta,.hero .cta{background:linear-gradient(100deg,#0e9db4,#3cd6a2);color:#06283c}.cta:disabled{opacity:.45;cursor:default}.options{display:grid;gap:8px;margin:4px 0 20px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.option,.card{border:1px solid #dde7ee;background:white;border-radius:14px;padding:13px;color:#142442;text-align:left}.option strong{margin-right:8px}.option[aria-pressed=true]{background:#daf5f1;border-color:#249e97}.push{margin-top:auto}.banner{width:100%;height:135px;object-fit:cover;border-radius:15px;margin-bottom:15px}.card{margin-bottom:12px;box-shadow:0 4px 18px #13294a0b}.card h2{font-size:17px;margin:0 0 8px}.card p:last-child{margin-bottom:0}.nav{display:flex;background:white;padding:7px 4px;color:#38536d;gap:1px;border-top:1px solid #dce9ed}.nav button{flex:1;border:none;background:none;color:inherit;font-size:11px;padding:6px 0}.nav button span{display:block;font-size:19px}.nav [aria-current=page]{color:#08776c;font-weight:800}.word{text-align:center;background:#21638a;color:white;border-radius:18px;padding:24px;margin:0 0 12px;font-size:31px;font-weight:bold}.word small{display:block;font-size:15px}.bars{height:120px;display:flex;align-items:end;justify-content:space-around;gap:9px}.bars div{flex:1;background:linear-gradient(#5cced5,#15877d);border-radius:5px 5px 0 0}.ring{display:grid;place-content:center;text-align:center;width:133px;height:133px;border:10px solid #55c7ae;border-right-color:#dbeef1;border-radius:50%;margin:8px auto 18px}.chat{display:flex;gap:8px}.chat input,.search{min-width:0;width:100%;border-radius:12px;border:1px solid #d7e5ec;padding:11px}.chat button{width:auto}.messages{max-height:330px;overflow:auto;margin-bottom:12px}.mine{background:#d9f1ee;margin-left:28px}.feedback{color:#08745e;font-weight:700}.link{background:none;border:0;color:inherit;text-decoration:underline;margin-top:8px}.badge{display:inline-grid;place-items:center;background:#dcf4ec;border-radius:9px;width:31px;height:31px}.mini{display:flex;gap:8px;flex-wrap:wrap}.mini button{flex:1}.wide{width:100%}:focus-visible{outline:3px solid #29b3d1;outline-offset:2px}@media(max-width:520px){body{padding:0;background:#091a33}#app{width:100%;min-height:100dvh;border-radius:0;box-shadow:none}.hero .cta{margin-top:clamp(210px,39dvh,325px)}}@media(min-width:850px){body{padding:32px}#app{width:580px}.hero{background-size:auto,100% auto}.surface,.dark{padding-left:38px;padding-right:38px}}

/* Mobile layout follows the proportions, curved panels and palette of the reference. */
:root{--ink:#121d36;--navy:#0a2039;--deep:#07162e;--paper:#f5f9fa;--teal:#0a776f}
#app{background:radial-gradient(ellipse at 12% 45%,#155778 0,transparent 58%),linear-gradient(160deg,#142b46,#083851 66%,#081b31)}
.surface{color:var(--ink);background:linear-gradient(140deg,#fff 0%,#f3f8f9 74%,#e5f5f3)}
.hero{position:relative;isolation:isolate;min-height:inherit;justify-content:space-between;padding:clamp(60px,12dvh,106px) 10% 20px;background:radial-gradient(ellipse at 50% 46%,#466681 4%,#102448 48%,#07132b 76%)}
.hero::before{content:"";position:absolute;z-index:-1;inset:36% 0 9%;background:linear-gradient(180deg,#102448 0%,transparent 22%,transparent 73%,#07162b 100%),url(camino.png) center/cover no-repeat}
.hero::after{content:"";position:absolute;z-index:-1;inset:0 0 53%;background:radial-gradient(circle at 19% 30%,#b3ddff 0 1px,transparent 2px),radial-gradient(circle at 80% 38%,#8baff1 0 1px,transparent 2px),radial-gradient(circle at 68% 14%,#8baff1 0 1px,transparent 2px),radial-gradient(circle at 34% 17%,#8baff1 0 1px,transparent 2px)}
.hero header{margin-bottom:auto}.hero h1{line-height:1.1;margin:5px 0 12px;letter-spacing:-.045em}.hero p{margin:0}.hero .cta{margin-top:0}.hero .dots{flex:none;margin-top:9px;font-size:11px}.hero .link{font-size:13px}.brand{width:clamp(62px,23vw,100px);mix-blend-mode:screen}
.top img{border-radius:8px;mix-blend-mode:screen}.top{min-height:52px;font-size:14px;font-weight:750}.cta{border-radius:999px;min-height:45px}.option{min-height:44px}.option .badge{color:#075e60}.option:nth-child(6n+2) .badge{background:#e0f1ff;color:#174f91}.option:nth-child(6n+3) .badge{background:#faead2;color:#795110}.option:nth-child(6n+5) .badge{background:#f9e2f6;color:#9b2681}.setup-prompt{font-size:15px}.search{background:#edf4f7;margin-bottom:8px}
[data-screen=setup] .surface{border-radius:50% 50% 0 0/36px 36px 0 0}
[data-screen=setup] .option{background:#f9fbfc}.option[aria-pressed=true],[data-screen=setup] .option[aria-pressed=true]{background:#daf5f1;border-color:#249e97}
[data-screen=setup] .option:has(.badge){display:flex;align-items:center;gap:8px}.option .badge{flex:none;margin-right:0}
[data-screen=setup] .grid .option{align-items:flex-start;flex-direction:column}
[data-screen=plan] .card{color:#f8fcff;background:#123451;border-color:#274b65}
[data-screen=home] .surface,[data-screen=progress] .surface,[data-screen=profile] .surface{background:transparent;border-radius:0;color:white;padding-top:5px}
[data-screen=profile] .surface{text-align:center}.profile-hero p{color:#d8f0f5}
.profile-hero .avatar{display:grid;place-items:center;width:104px;height:104px;margin:8px auto 14px;border-radius:50%;border:3px solid #dcecff;background:radial-gradient(circle at 35% 26%,#bde7fa,#327aa2 65%,#164366);font-size:46px}
.profile-stats,.today-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}
.profile-stats div,.today-tiles button{border:0;border-radius:12px;padding:10px 4px;background:#dff7ef;color:#125a61;font-size:12px}
.profile-stats div:nth-child(2),.today-tiles button:nth-child(2){background:#f3e4ff;color:#693891}.profile-stats div:nth-child(3),.today-tiles button:nth-child(3){background:#e7e9ff;color:#514b9f}
.profile-stats strong,.today-tiles span,.today small{display:block}.today-tiles span{font-size:21px}.today-tiles{margin:8px 0 0}.today{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;text-align:left;width:100%;border:0;background:#f0f5f9;border-radius:12px;padding:10px;color:var(--ink)}
[data-screen=progress] .ring{background:#f7fbfc;color:var(--ink);border-width:8px}
.nav{position:sticky;bottom:0;z-index:2;padding-bottom:max(7px,env(safe-area-inset-bottom));box-shadow:0 -4px 14px #06192a17}.nav button{min-height:48px}
@media(max-width:520px){
  #app{min-height:100dvh}.top{padding:12px 18px}.surface,.dark{padding:27px 18px 20px}.surface h1,.dark h1{font-size:clamp(23px,6.5vw,28px)}.options{gap:7px;margin-bottom:15px}.option{padding:10px;font-size:14px}.card{padding:12px}.hero .cta{margin-top:0}.hero h1{font-size:clamp(44px,13vw,57px)}
}

.hero-actions{width:100%}
@media(min-width:850px){
  body{padding:clamp(24px,4vw,64px)}
  #app{width:min(100%,1200px);min-height:min(740px,calc(100dvh - 72px));border-radius:28px}
  .hero{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr auto 1fr;align-items:center;text-align:left;padding:0;background:#091a33}
  .hero::before{inset:0 0 0 50%;background:linear-gradient(90deg,#091a33,transparent 26%),linear-gradient(0deg,#091a33,transparent 30%),url(camino.png) center/cover no-repeat}
  .hero::after{inset:0 50% 0 0}
  .hero header{grid-column:1;grid-row:2;margin:0;padding:40px 20px 24px clamp(40px,6vw,94px)}
  .hero h1{font-size:clamp(66px,7vw,105px);margin:12px 0 18px}
  .hero p{font-size:clamp(19px,2vw,26px);color:#d4ebf4}
  .hero-actions{grid-column:1;grid-row:3;align-self:start;padding:0 20px 40px clamp(40px,6vw,94px)}
  .hero .cta{width:min(100%,285px)}
  .hero .link{display:block;margin:12px 0 0;padding:2px 0}
  .hero .dots{display:none}
  #app:has(.nav){display:grid;grid-template-columns:220px minmax(0,1fr);grid-template-rows:72px 1fr}
  #app:has(.nav)>.top{grid-column:1;grid-row:1;padding:22px 26px;font-size:20px}
  #app:has(.nav)>.nav{grid-column:1;grid-row:2;position:static;display:flex;flex-direction:column;align-self:start;padding:8px 16px;color:#d7eef4;background:transparent;border:0;box-shadow:none;gap:5px}
  .nav button{display:flex;align-items:center;gap:13px;text-align:left;padding:10px 14px;font-size:15px;border-radius:12px}
  .nav [aria-current=page]{background:#d8f3ee;color:#075951}
  #app:has(.nav)>.surface{grid-column:2;grid-row:1 / 3;border-radius:0;background:linear-gradient(140deg,#fff,#eaf6f5);color:var(--ink);padding:clamp(32px,5vw,68px)}
  #app:has(.nav)>.surface h1{font-size:38px}
  .profile-hero p{color:#38536d}
  [data-screen=home] .surface .card,[data-screen=profile] .surface .card,[data-screen=progress] .surface .card{max-width:720px;width:100%}
  #app:not(:has(.nav,.hero)) .surface,#app:not(:has(.nav,.hero)) .dark{padding-inline:max(45px,calc((100% - 660px)/2))}
}
