/* Enhansa site. Tokens from the app (design/v10/project/v10.css): ink #262B38, secondary #666C82, lavender #A9AFC2,
   pale #D7DBE7, ground #F3F4F7, line #E3E5EC, night #101219. Instrument Sans, self-hosted (SIL OFL, fonts/). */
@font-face{font-family:"Instrument Sans";src:url(fonts/InstrumentSans-Regular.ttf) format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url(fonts/InstrumentSans-Medium.ttf) format("truetype");font-weight:500;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url(fonts/InstrumentSans-SemiBold.ttf) format("truetype");font-weight:600;font-display:swap}

:root{--ink:#262B38;--second:#666C82;--tint:#7B8196;--lavender:#A9AFC2;--pale:#D7DBE7;--ground:#F3F4F7;--line:#E3E5EC;--night:#101219;--wrap:1152px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--ground);color:var(--ink);font-family:"Instrument Sans",-apple-system,"Helvetica Neue",Arial,sans-serif;font-size:17px;line-height:1.5;letter-spacing:-.01em;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3,p{margin:0}
h1,h2{font-weight:500;letter-spacing:-.03em;line-height:1.08;text-wrap:balance}
h1{font-size:clamp(40px,5.2vw,64px)}
h2{font-size:clamp(30px,3.6vw,46px)}
h3{font-size:20px;line-height:1.25;font-weight:600;letter-spacing:-.015em}
h1 em,h2 em{font-style:normal;color:var(--tint)}
.wrap{width:100%;max-width:calc(var(--wrap) + 48px);margin:0 auto;padding:0 24px}
.second{color:var(--second)}
.center{text-align:center}

/* header */
.top{position:sticky;top:0;z-index:10;background:rgba(243,244,247,.82);backdrop-filter:saturate(1.4) blur(16px);-webkit-backdrop-filter:saturate(1.4) blur(16px);border-bottom:1px solid transparent}
.top .wrap{display:flex;align-items:center;gap:24px;height:72px}
.brand{text-decoration:none;font-size:24px;font-weight:500;letter-spacing:-.03em}
.top nav{display:flex;gap:28px;margin-left:auto;font-size:15px}
.top nav a{text-decoration:none;color:var(--second);padding:12px 0}
.top nav a:hover,.top nav a[aria-current]{color:var(--ink)}

/* App Store button (our own markup in the badge's style) */
.badge{display:inline-flex;align-items:center;gap:10px;height:54px;padding:0 20px 0 16px;border-radius:12px;background:#000;color:#fff;text-decoration:none;white-space:nowrap;transition:transform .15s ease}
.badge:hover{transform:translateY(-1px)}
.badge:active{transform:scale(.98)}
.badge svg{width:26px;height:26px;flex:none;fill:currentColor;margin-top:-3px}
.badge span{display:flex;flex-direction:column;line-height:1.05;text-align:left;font-family:-apple-system,"SF Pro Text","Helvetica Neue",Arial,sans-serif;letter-spacing:0}
.badge small{font-size:11px;font-weight:400}
.badge b{font-size:21px;font-weight:600;letter-spacing:-.02em}
.badge.sm{height:42px;padding:0 14px 0 11px;gap:8px;border-radius:9px}
.badge.sm svg{width:20px;height:20px}
.badge.sm small{font-size:9px}.badge.sm b{font-size:16px}
.badge.lt{background:#fff;color:#000}

/* phones: a current iPhone. Sizes are fractions of the phone's width (cqw), from the real device: screen 402 pt wide,
   corner radius 62 pt, bezel about 9 pt, Dynamic Island 126 x 37 pt, 11 pt from the top of the screen. The screenshot
   keeps its own 1206:2622 shape and is never cropped; only the corners are rounded, as on the device. */
.phone{width:100%;container-type:inline-size}
.phone .body{position:relative;padding:2.2cqw;border-radius:17cqw;background:#000;box-shadow:0 0 0 .35cqw #3b3e47,0 6cqw 14cqw -6cqw rgba(38,43,56,.5)}
.phone img{width:100%;height:auto;aspect-ratio:1206/2622;border-radius:14.8cqw}
.phone .body::after{content:"";position:absolute;left:50%;top:4.8cqw;width:30cqw;height:8.8cqw;margin-left:-15cqw;border-radius:4.4cqw;background:#000}
.dark .phone .body{box-shadow:0 0 0 .35cqw #4a4e5a,0 6cqw 16cqw -4cqw rgba(0,0,0,.8)}

/* hero */
.hero{padding:56px 0 96px}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:48px;align-items:center}
.hero p{margin:22px 0 32px;max-width:440px;font-size:19px;color:var(--second)}
.duo{position:relative;display:flex;justify-content:center;gap:5%;padding:0 2%}
.duo .phone{width:45%;flex:none}
.duo .phone:first-child{margin-top:9%}

/* include */
.sec{padding:96px 0}
.sec>.wrap>h2.center{margin-bottom:64px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.split .shot{max-width:330px;width:100%;margin:0 auto}
.steps{display:flex;flex-direction:column}
.steps div{padding:26px 0;border-top:1px solid var(--line)}
.steps div:first-child{border-top:0;padding-top:0}
.steps p{margin-top:8px;color:var(--second);max-width:460px}

/* why */
.why{background:#fff}
.why .lead{margin:-44px auto 56px;color:var(--second);text-align:center}
.three{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.three div{padding:32px;border-radius:24px;background:var(--ground)}
.three svg{width:56px;height:56px;padding:15px;border-radius:16px;background:var(--pale);fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin-bottom:22px}
.three p{margin-top:10px;color:var(--second)}

/* dark */
.dark{background:var(--night);color:#fff}
.dark h2 em{color:rgba(255,255,255,.6)}
.dark .second{color:var(--lavender)}
.dark .split p{margin:20px 0 32px;max-width:420px;font-size:19px}

/* faq */
.faq{max-width:760px;margin:0 auto}
details{border-top:1px solid var(--line)}
details:last-of-type{border-bottom:1px solid var(--line)}
summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 0;font-size:19px;font-weight:500;letter-spacing:-.015em}
summary::-webkit-details-marker{display:none}
summary::after{content:"";width:10px;height:10px;flex:none;border-right:2px solid var(--tint);border-bottom:2px solid var(--tint);transform:rotate(45deg);transition:transform .2s ease;margin:0 6px 4px 0}
details[open] summary::after{transform:rotate(-135deg);margin-bottom:-4px}
details p{padding:0 40px 24px 0;color:var(--second)}
details p+p{margin-top:-12px}
.more{display:block;margin-top:28px;text-align:center;color:var(--second)}

/* closing */
.close{padding:112px 0;text-align:center;background:linear-gradient(180deg,var(--ground),var(--pale))}
.close h2{margin-bottom:32px}

/* footer */
footer{background:var(--ground);padding:56px 0 40px;font-size:15px}
footer .wrap{display:grid;grid-template-columns:2fr 1fr 1fr;gap:32px}
footer h3{font-size:15px;margin-bottom:14px}
footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
footer li a{text-decoration:none;color:var(--second)}
footer li a:hover{color:var(--ink)}
footer .dl{margin:18px 0 12px;color:var(--second)}
footer .copy{grid-column:1/-1;padding-top:28px;border-top:1px solid var(--line);color:var(--second)}

/* legal and support pages */
.doc{max-width:760px;margin:0 auto;padding:64px 24px 96px}
.doc h1{font-size:clamp(34px,4.4vw,52px)}
.doc .date{margin:14px 0 40px;color:var(--second)}
.doc h2{font-size:26px;letter-spacing:-.02em;line-height:1.2;margin:48px 0 14px}
.doc h3{font-size:18px;margin:28px 0 8px}
.doc p,.doc li{color:#3d4354}
.doc p{margin:0 0 14px}
.doc ul{margin:0 0 14px;padding-left:22px}
.doc li{margin-bottom:8px}
.doc li b,.doc p b{font-weight:600;color:var(--ink)}
.doc table{width:100%;border-collapse:collapse;margin:8px 0 18px;font-size:15px}
.doc th,.doc td{text-align:left;vertical-align:top;padding:12px 12px 12px 0;border-top:1px solid var(--line);color:#3d4354}
.doc th{font-weight:600;color:var(--ink);border-top:0}
.tablewrap{overflow-x:auto}
.doc details p{padding-right:24px}
.doc h2.group{font-size:22px;margin:56px 0 8px}
.stuck{margin-top:64px;padding:32px;border-radius:24px;background:#fff}
.stuck h2{margin:0 0 8px}
.stuck p{margin:0}

@media (max-width:860px){
  .top nav{display:none}
  .top .wrap{height:64px;justify-content:space-between}
  .hero{padding:28px 0 72px}
  .hero .wrap{grid-template-columns:1fr;gap:44px}
  .hero p{font-size:17px;margin:16px 0 26px}
  .sec{padding:72px 0}
  .sec>.wrap>h2.center{margin-bottom:44px}
  .split{grid-template-columns:1fr;gap:44px}
  .split .shot{max-width:270px}
  .why .lead{margin-top:-28px;margin-bottom:36px}
  .three{grid-template-columns:1fr;gap:14px}
  .three div{padding:26px}
  .dark .split .shot{order:2}
  summary{font-size:17px}
  details p{padding-right:8px}
  .close{padding:80px 0}
  footer .wrap{grid-template-columns:1fr 1fr}
  footer .wrap>div:first-child{grid-column:1/-1}
  .doc{padding:36px 24px 72px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.badge,summary::after{transition:none}}
