/* Phone layout for the homepage. Loaded with media="(max-width:767px)" and every rule is also
   inside the same query, so computers never use any of it. Nothing in home.css is changed. */
@media (max-width:767px){
html,body{overflow-x:hidden}
:root{--gut:18px}

/* Header: logo, Sign in, Sign up, theme. The section links stay in the page itself. */
.site-head nav{display:none}
.sh-in{gap:4px}
.sh-brand{font-size:16px;gap:8px}
.sh-brand svg{width:26px;height:26px}
.sh-signin{margin-left:0;padding:8px 10px}
.sh-theme{margin-left:2px}

/* Hero: one column. Copy first, then the live decoder. */
.hero{display:block;height:auto;min-height:0;max-height:none;padding:40px 18px 32px}
.hero-copy{max-width:none}
.logo-art{top:-60px;right:-120px;width:340px;opacity:.12}
.hero .eyebrow{font-size:10px;letter-spacing:1.4px;line-height:1.7}
.hero h1{font-size:clamp(40px,11.5vw,54px);letter-spacing:-1.8px;line-height:1.05;margin:18px 0 20px}
.hero h1 em{letter-spacing:-1px}
.hero-q{font-size:21px;line-height:1.3}
.hero-lede{font-size:16px;line-height:1.65;max-width:none}
.hero-points{font-size:15px}
.hero-points li{align-items:flex-start}
.hero-actions{margin-top:24px}
.hero-actions .text-button{font-size:13px}
.hero-danger{font-size:14px}
.hdec{margin-top:32px;height:auto;min-height:0;padding:18px 16px;border-radius:16px}
.hdec-head{flex-wrap:wrap}
.hdec-tabs button{min-height:40px}
.hdec-rel{flex-wrap:wrap}
/* Example buttons and found tactics: one row that slides sideways, so nothing hides behind the message. */
.hdec-chips,.hdec-found{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}
.hdec-chips::-webkit-scrollbar,.hdec-found::-webkit-scrollbar{display:none}
.hdec-chips{height:auto;padding-bottom:2px}
.hdec-chips button{flex-shrink:0;min-height:36px}
.hdec-found{height:auto}
.hdec-found span{flex-shrink:0}
.hdec-text{max-height:none}
.hero-foot{position:static;display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;margin-top:28px;font-size:9px;letter-spacing:1.2px;line-height:1.5}
.hero-foot>span:first-child{display:flex}

/* Sections: one column, normal phone margins. */
.section-wrap{padding:56px 18px}
.section-heading{display:block}
.section-heading h2,.perspective h2{font-size:34px;letter-spacing:-1.2px;line-height:1.1}
.section-heading>p{font-size:15px;line-height:1.6;margin-top:16px}
.section-heading>p br{display:none}
.demo-caption{flex-direction:column;align-items:flex-start;gap:12px;font-size:13px;line-height:1.6}
.demo-caption>span:last-child{max-width:none}
.eyebrow{font-size:10px;letter-spacing:1.6px}

.catch-grid,.method-grid,.include-grid,.spiral-lists,.why-voices{grid-template-columns:minmax(0,1fr)}
.catch-grid>*,.method-grid>*,.include-grid>*{min-width:0}
.who-layout,.spiral-layout{display:flex;flex-direction:column;gap:28px}
.who-layout>*,.spiral-layout>*{min-width:0;max-width:100%}
.who-list li{flex-direction:column;align-items:flex-start;gap:6px;padding:16px 0}
.who-list span{text-align:left;max-width:none}
.spiral-art{width:100%;max-width:340px;margin:0 auto}
.cycle-step{transform:translate(-50%,-50%) rotate(var(--a)) translateX(112px) rotate(calc(-1 * var(--a)));max-width:96px;white-space:normal;text-align:center;font-size:11.5px;line-height:1.3;padding:6px 8px}
.cycle-mark{width:28%;height:28%}

.pause-section{display:flex;flex-direction:column;align-items:center;padding:56px 18px;gap:36px}
.pause-copy{text-align:left;max-width:100%;min-width:0}
.pause-copy h2{font-size:34px;line-height:1.1}
.pause-copy .eyebrow{justify-content:flex-start}
.urge-list li{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.urge-list strong,.urge-list span{white-space:normal;min-width:0}
/* The phone demo sits above this text on a phone, so the arrow points up. */
.demo-point svg{transform:rotate(90deg);flex-shrink:0}
.include-grid article,.include-grid article:not(:nth-child(3n+1)){padding:20px 0 22px;border-left:0}

.story-layout{display:flex;flex-direction:column;gap:32px;margin-top:28px}
.story-art{max-width:300px;margin:0 auto}

.why-voices figure{padding:22px}

/* In their own words: on a phone the sliding cards become a simple stack, every quote showing,
   the founder's card first. */
.why .voices{width:auto;margin-left:0;margin-top:28px;overflow:visible}
.why .voices-track{display:flex;flex-direction:column;align-items:stretch;gap:14px;width:auto;height:auto;padding:0;transform:none!important;transition:none}
.why .voices-track figure,.why .voices-track figure.on,.why .voices-track figure.lead.on{flex:none;width:auto;height:auto;padding:22px;display:flex;flex-direction:column;gap:16px;cursor:default;opacity:1;transform:none}
.why .voices-track figure.lead{order:-1}
.why .voices-track figure blockquote,.why .voices-track figure.lead blockquote,.why .voices-track .focus-only,.why .voices-track .voice-main,.why .voices-track .voice-main blockquote{position:static;opacity:1;visibility:visible;transition:none}
.why .voices-track blockquote{font-size:22px;line-height:1.3;text-align:left}
.why .voices-track figure.lead blockquote{padding-left:16px;margin-top:4px}
.why .voices-track .voice-main{display:flex;flex-direction:column;gap:10px}
.why .voices-track .voice-context{font-size:15px}
.why .voices-track figcaption,.why .voices-track figure.on figcaption,.why .voices-track figure.lead.on figcaption{position:static;inset:auto;flex-direction:row;justify-content:flex-start;align-items:center;text-align:left;gap:12px;padding:0;opacity:1}
.why .voices-track figcaption .bust,.why .voices-track figcaption img,.why .voices-track figcaption .initials{width:46px;height:46px;font-size:17px}
.why .voices-track .voice-creds{position:static;width:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}
.why .voices-track .voice-creds div,.why .voices-track .voice-creds div:first-child{padding:10px 0 0;border-top:1px solid var(--line)}
.why .voices-track .voice-creds dd{font-size:14px}
.why .voices-track .voice-btn{position:static;align-self:flex-start}
.why .voices-track .voice-mark{top:-60px;right:-60px;width:240px;height:240px}
.why .voices-dots{display:none}

/* Footer: one column. */
.sf-top{grid-template-columns:minmax(0,1fr);gap:28px;padding:40px 18px 32px;align-items:start}
.sf-tag{white-space:normal;font-size:18px}
.sf-app{justify-self:start}
.sf-bottom{padding-left:18px;padding-right:18px}
.sf-row{flex-direction:column;align-items:flex-start;gap:14px}
.sf-left{flex-direction:column;align-items:flex-start;gap:10px}
.site-foot nav{gap:10px 18px}

/* Kept short on a phone: the four facts under the decoder, the demo's step and screen buttons,
   the demo's long note (only its Interactive live demo tag stays), and two sections. */
.hero-foot,.demo-controls,#spiral,#moments{display:none}
.experience .device-stage{margin-top:28px}
.live-bar{justify-content:center;background:none;border:0;box-shadow:none;padding:0;margin-top:14px}
.live-bar>span:not(.demo-tag){display:none}
/* Sliding button rows fade at the right edge so the cut-off button reads as "slide for more". */
.hdec-chips,.hdec-found{scroll-snap-type:x proximity;scroll-padding-left:16px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent)}
.hdec-chips button,.hdec-found span{scroll-snap-align:start}
.hdec-chips:after,.hdec-found:after{content:'';flex:0 0 24px}
/* SPIRAL letters: every letter starts at the same spot on the right, so the column runs straight down. */
.method-grid b{right:auto;left:calc(100% - 82px)}
/* Use your own: only Paste sits in the box (the note under Decode it names the rest), and Who's it from
   is one sliding row like the examples. */
.hdec-tools .hdec-more,.hdec-more-note{display:none}
.hdec-rel{flex-wrap:nowrap;height:auto;overflow-x:auto;scrollbar-width:none;margin:-4px -16px;padding:4px 16px;scroll-snap-type:x proximity;scroll-padding-left:16px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent)}
.hdec-rel::-webkit-scrollbar{display:none}
.hdec-rel button{flex-shrink:0;min-height:36px;scroll-snap-align:start}
.hdec-rel:after{content:'';flex:0 0 24px}
}

/* Import history on a phone: the label above, the logos drifting underneath, a little smaller. */
@media(max-width:650px){.imports{flex-direction:column;align-items:flex-start;gap:16px;padding:24px 0 26px}.imports-label{padding:0 7%}.imports-track{width:100%}.imports-run{gap:36px;padding-right:36px}.imp i{width:22px;height:22px}.imp-tp i{width:28px}.imp b{font-size:15px}}
