/* danielcho.co/join. Layout, type scale and spacing follow liamottley.com/join (Sep 28 2026 design);
   palette is Daniel's: navy ink, orange accent, warm paper. One centred column on every screen. */
:root{color-scheme:light;--paper:#fafafa;--ink:#171717;--muted:#646464;--accent:#c9610f;--accent-dark:#a34d0a;--accent-soft:#fdeedd;--line:#dededb;--card:#fff;--sans:'DM Sans',Arial,sans-serif;--display:'Manrope',Arial,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;-webkit-font-smoothing:antialiased}
a{color:inherit}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}
::selection{background:#fbdcc0;color:var(--ink)}
.nowrap{white-space:nowrap}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.arr{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
h1,.section-title,.cta-inner h2{text-wrap:balance}

/* Masthead */
.masthead{max-width:1240px;margin:auto;padding:28px 44px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand svg{width:38px;height:38px;flex-shrink:0}
.wordmark{text-decoration:none;font-family:var(--display);font-weight:800;font-size:30px;letter-spacing:-2px;line-height:1.3}
.wordmark span{color:var(--accent)}
.masthead-note{font-size:12px;letter-spacing:1.6px;font-weight:600;margin:0}

/* Hero: fills the first screen, content spread between the proof line and the author line. */
.hero{max-width:980px;margin:auto;padding:34px 40px 40px;text-align:center;overflow-x:clip}
.hero-copy{display:flex;flex-direction:column;align-items:center;min-height:min(calc(100vh - 170px),780px);min-height:min(calc(100svh - 170px),780px)}
.crowd{display:flex;align-items:center;justify-content:center;gap:12px;margin:auto 0 22px}
.crowd-dot{width:10px;height:10px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft);flex-shrink:0;animation:pulse 2.4s infinite}
@keyframes pulse{0%,100%{box-shadow:0 0 0 4px var(--accent-soft)}50%{box-shadow:0 0 0 7px #fdf0e300}}
.crowd-copy{margin:0;font-size:14.5px;line-height:1.4;color:var(--muted);text-align:left}
.crowd-copy strong{color:var(--ink);font-weight:700}
.hero h1{font-family:var(--display);font-size:clamp(64px,10.5vw,96px);font-weight:600;letter-spacing:-.048em;line-height:1.02;margin:0 0 20px}
.hero h1 .plain{color:inherit}
.hero h1 .plain:first-child{display:block}
.rotator{display:inline-block;position:relative;white-space:nowrap;text-align:left;color:var(--accent);transition:width .55s cubic-bezier(.65,0,.25,1)}
.rotator.is-ready{clip-path:inset(-.04em -1.4em -.26em -.12em)}
.rotator.is-ready .rot-spacer{visibility:hidden}
.rot-measure{position:absolute;left:0;top:0;visibility:hidden;white-space:nowrap}
.rot-track{position:absolute;left:0;top:0;white-space:nowrap;transition:transform .64s cubic-bezier(.55,0,.2,1.14)}
.rot-line{display:block;height:1.5em;color:var(--accent)}
.intro{font-size:clamp(15px,calc(12.5px + .65vw),22px);line-height:1.58;max-width:25.5em;margin:0 auto 40px;color:#555;text-wrap:wrap}
.intro strong{color:var(--ink);font-weight:600;white-space:nowrap}

/* The lever in the gap, after liamottley.com/join: ball drops, squashes, slams the beam to the floor, one rebound,
   the block kicks, a puff of dust. Pivot (224,60), floor y=85. Each easing sits on the keyframe that starts its segment. */
.ship-strip{display:block;width:100%;max-width:clamp(360px,52vw,480px);margin:0 auto 34px}
.ship-strip svg{display:block;width:100%;height:auto;overflow:visible}
.ls-ground{stroke:#dcd8d1;stroke-width:2;stroke-linecap:round}
.ls-fulcrum,.ls-bar{fill:var(--ink)}
.ls-load{fill:#e9e4dc;stroke:#cfc8bd;stroke-width:1.5}
.ls-ball{fill:var(--accent)}
.ls-shine{fill:#fff;opacity:.35}
.ls-puff{fill:#c9bfb1;opacity:0}
.ls-beam,.ls-load-g,.ls-ball-g,.ls-ball-spin,.ls-puff{transform-box:view-box}
.ls-beam{transform-origin:224px 60px;transform:rotate(3deg);animation:snap-beam 3.2s infinite}
.ls-load-g{transform-origin:278px 56px;animation:snap-kick 3.2s infinite}
.ls-ball-g{animation:snap-drop 3.2s infinite}
.ls-ball-spin{transform-origin:52px 56px;animation:snap-squash 3.2s infinite}
.ls-puff{transform-origin:40px 85px;animation:snap-puff 3.2s infinite}
@keyframes snap-drop{0%,5.75%{transform:translateY(-44px);opacity:0;animation-timing-function:cubic-bezier(.5,0,1,.6)}20.13%{opacity:1}38.81%,78.13%{transform:translateY(0);opacity:1}84.38%,100%{transform:translateY(0);opacity:0}}
@keyframes snap-squash{0%,38.09%{transform:scale(1,1)}40.97%{transform:scale(1.24,.72)}46%{transform:scale(.9,1.1)}51.03%,100%{transform:scale(1,1)}}
@keyframes snap-beam{0%,38.81%{transform:rotate(3deg);animation-timing-function:cubic-bezier(.6,0,1,.4)}47.44%{transform:rotate(-6.1deg);animation-timing-function:cubic-bezier(0,.6,.4,1)}53.19%{transform:rotate(-4.3deg);animation-timing-function:cubic-bezier(.6,0,1,.4)}58.94%{transform:rotate(-6.1deg);animation-timing-function:cubic-bezier(0,.6,.4,1)}62.53%{transform:rotate(-5.5deg);animation-timing-function:cubic-bezier(.6,0,1,.4)}66.13%,80%{transform:rotate(-6.1deg);animation-timing-function:cubic-bezier(.45,0,.2,1)}95.63%,100%{transform:rotate(3deg)}}
@keyframes snap-kick{0%,46%{transform:translate(0,0) rotate(0) scale(1,1);animation-timing-function:cubic-bezier(0,.6,.4,1)}53.19%{transform:translate(1px,-14px) rotate(5deg) scale(1,1);animation-timing-function:cubic-bezier(.6,0,1,.4)}60.38%{transform:translate(0,0) rotate(0) scale(1,1)}63.25%{transform:translate(0,0) rotate(0) scale(1.06,.92)}67.56%,100%{transform:translate(0,0) rotate(0) scale(1,1)}}
@keyframes snap-puff{0%,46.72%{opacity:0;transform:scale(.3,.6)}48.88%{opacity:.8;transform:scale(.7,1)}66.13%,100%{opacity:0;transform:scale(1.9,1.3)}}

/* Signup: one row, white, hairline, orange button. Kit owns the network submission. */
.signup{width:100%;max-width:520px;margin:0 auto 34px}
#newsletter-form{display:block;padding:0;border:0;background:transparent;box-shadow:none}
.signup-fields{display:flex;background:#fff;border:1px solid #bababa;border-radius:6px;padding:6px;gap:8px;box-shadow:0 3px 0 #1b273508}
input{width:100%;min-width:0;border:0;background:transparent;padding:13px 15px;border-radius:3px;color:var(--ink);font-size:16px}
input::placeholder{color:#777}
input:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
button{display:flex;gap:10px;align-items:center;justify-content:center;white-space:nowrap;min-height:52px;border:0;border-radius:3px;background:var(--accent);color:#fff;font-weight:700;padding:14px 24px;cursor:pointer;transition:background .15s,transform .15s}
button:hover{background:var(--accent-dark)}
button:active{transform:translateY(1px)}
button:focus-visible,a:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
button[disabled]{cursor:not-allowed}
.formkit-submit{position:relative}
.formkit-submit>span{display:flex;align-items:center;justify-content:center;gap:10px;font-size:16px}
.formkit-spinner{display:none}
.formkit-submit[data-active]{opacity:.65;cursor:wait}
.formkit-submit[data-active] .formkit-spinner{display:block;position:absolute;width:20px;height:20px;border:2px solid #ffffff66;border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}
.formkit-submit[data-active]>span{opacity:0}
@keyframes spin{to{transform:rotate(360deg)}}
.formkit-alert{padding:16px;list-style:none;border-radius:5px;font-size:16px;line-height:1.6;text-align:left;margin:0 0 15px}
.formkit-alert:empty{display:none}
.formkit-alert-success{background:#eff7f0;border:1px solid #8aad91;color:#25552f}
.formkit-alert-error{background:#fff0eb;border:1px solid #de7655;color:#942b0d}

/* Step two after signup, after Liam's profile step: optional details and a reader role. */
[hidden]{display:none!important}
.signup-confirmed{margin:0 0 14px;padding:12px 16px;border-radius:6px;background:#eff7f0;border:1px solid #8aad91;color:#25552f;font-size:15px;line-height:1.5;text-align:left}
.profile-fields{text-align:left;background:#fff;border:1px solid var(--line);border-radius:8px;padding:25px}
.profile-confirmation{color:#25552f;font-size:14px;line-height:1.6;margin:0 0 22px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.profile-fields h2{font-family:var(--display);font-size:25px;font-weight:600;line-height:1.3;letter-spacing:-.6px;margin:0 0 9px}
.profile-fields [tabindex="-1"]:focus,.profile-done:focus{outline:none}
.profile-intro{font-size:14px;line-height:1.6;color:var(--muted);margin:0 0 22px}
.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 16px}
.profile-grid label{display:block;font-size:13px;font-weight:600}
.profile-grid input{display:block;border:1px solid #bababa;border-radius:4px;margin-top:7px;padding:12px;font-weight:400;min-height:48px}
.profile-segment{border:0;padding:0;margin:24px 0 0;min-width:0}
.profile-segment legend{font-size:13px;font-weight:600;line-height:1.6;margin-bottom:9px;padding:0}
.role-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.role-options label{position:relative;min-width:0;cursor:pointer}
.role-options input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0;margin:0}
.role-options label>span{display:flex;align-items:center;gap:12px;min-height:76px;height:100%;padding:14px;border:1px solid var(--line);border-radius:8px;color:var(--ink);font-size:14px;line-height:1.4;background:#fff;transition:background .15s,border-color .15s}
.role-options label:hover>span{border-color:#d9a57a;background:#fffaf5}
.role-options input:checked+span{background:var(--accent-soft);border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);color:var(--accent-dark)}
.role-options input:focus-visible+span{outline:2px solid var(--accent);outline-offset:3px}
.role-icon{width:38px;height:38px;padding:8px;flex-shrink:0;border-radius:9px;background:#f5f3ef;color:#74685e}
.role-options input:checked+span .role-icon{background:#fbdcc0;color:var(--accent-dark)}
.role-label{font-weight:500}
.profile-save-status{min-height:20px;margin:18px 0 0;color:#627261;font-size:12px;line-height:1.6}
.profile-save-status.save-error{color:#a32f0e}
.profile-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:12px}
.profile-actions .skip-profile,.profile-actions .skip-profile:hover{background:transparent;color:var(--muted);font-size:14px;font-weight:400;min-height:44px;padding:10px 5px;text-decoration:underline;text-underline-offset:4px}
.profile-actions .skip-profile:hover{color:var(--ink)}
.profile-done{padding:24px;background:#eff7f0;border:1px solid #8aad91;border-radius:6px;color:#25552f;font-size:16px;line-height:1.7;text-align:left}
@media(max-width:500px){.profile-fields{padding:21px 18px}.profile-grid{grid-template-columns:1fr;gap:16px}.profile-fields h2{font-size:23px}.profile-actions{gap:8px}.profile-actions .formkit-submit{width:100%}.role-options label>span{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:9px;padding:12px;min-height:112px}.role-icon{width:34px;height:34px;padding:7px}.role-label{font-size:13px}}
@media(prefers-reduced-motion:reduce){.role-options label>span{transition:none}}

/* Author line. Nothing on this page leads away from the form. */
.author{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:auto;text-align:left;flex-wrap:nowrap}
.author>img{display:block;width:52px;height:52px;object-fit:cover;border-radius:50%;filter:saturate(.85)}
.author p{margin:0}
.author-name{font-weight:700;font-size:14px}
.author-description{font-size:13px;line-height:1.7;color:var(--muted)}
.ig-badge{display:inline-flex;align-items:center;gap:8px;margin:0 0 0 8px !important;padding:7px 13px 7px 11px;border:1px solid var(--line);border-radius:30px;background:#fff;font-size:13px;line-height:1.2;color:var(--ink);font-weight:600;white-space:nowrap}
.ig-badge svg{width:17px;height:17px;fill:none;stroke:var(--accent);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* Sections */
.section{max-width:1140px;margin:0 auto;padding:76px 40px;border-top:1px solid var(--line)}
.kicker{display:flex;gap:14px;align-items:baseline;margin:0 0 22px;font-size:12px;letter-spacing:1.4px;font-weight:600;line-height:1.5}
.kicker .n{color:var(--accent);white-space:nowrap}
.section-title{font-family:var(--display);font-size:clamp(32px,4vw,46px);font-weight:600;line-height:1.14;letter-spacing:-1.6px;margin:0 0 18px;max-width:760px}
.section-title span{color:var(--accent)}

/* Three places the letters come from. */
.place-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:14px}
.place{background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.place img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#e6ded2}
.place>div{position:relative;padding:34px 22px 24px}
.place-icon{position:absolute;top:-24px;left:20px;width:48px;height:48px;border-radius:14px;background:#fff;color:var(--accent);display:grid;place-items:center;box-shadow:0 8px 18px -8px #1b273555,0 0 0 1px #1b273512}
.place-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.place-tag{margin:0 0 8px;font-size:11px;font-weight:700;letter-spacing:1.3px;color:var(--accent)}
.place h3{font-family:var(--display);font-size:21px;font-weight:600;letter-spacing:-.5px;margin:0 0 8px}
.place p:last-child{margin:0;font-size:15px;line-height:1.65;color:#555}
.place p strong{color:var(--ink);font-weight:600}

/* One example letter. */
.sample{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:64px;align-items:center}
.sample .section-title{margin-bottom:26px}
.specs{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.specs li{display:flex;align-items:flex-start;gap:12px;font-size:17px;line-height:1.5}
.specs svg{flex-shrink:0;width:22px;height:22px;margin-top:1px;padding:3px;border-radius:50%;background:var(--accent-soft);color:var(--accent)}
.email-mock{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 26px 24px;box-shadow:0 24px 50px -30px #1b273550;position:relative}
.mock-tag{position:absolute;top:-12px;left:24px;margin:0;padding:4px 10px;border-radius:20px;background:var(--ink);color:#fff;font-size:10px;font-weight:700;letter-spacing:1.4px}
.mock-head{display:flex;gap:12px;align-items:center;padding:8px 0 16px;border-bottom:1px solid var(--line)}
.mock-head img{border-radius:50%;object-fit:cover;width:40px;height:40px}
.mock-from{margin:0;font-size:13px;color:var(--muted)}
.mock-subject{margin:2px 0 0;font-family:var(--display);font-weight:700;font-size:18px;letter-spacing:-.3px}
.mock-body p{margin:0;font-size:15px;line-height:1.65;color:#444}
.mock-body .mock-label{margin:16px 0 3px;font-size:11px;font-weight:700;letter-spacing:1.3px;color:var(--accent)}

/* Closing call. */
.cta-band{max-width:1140px;margin:4px auto 64px;padding:0 40px}
.cta-inner{background:var(--ink);color:#fafafa;border-radius:14px;padding:64px 56px;display:flex;align-items:center;justify-content:space-between;gap:40px;position:relative;overflow:hidden}
.cta-inner h2{font-family:var(--display);font-size:clamp(32px,4vw,48px);font-weight:600;letter-spacing:-1.8px;line-height:1.1;margin:0 0 12px}
.cta-inner h2 span{color:#f29a4a}
.cta-inner p{margin:0;color:#b9b9b6;font-size:17px;line-height:1.6;max-width:520px}
.cta-mark{position:absolute;right:-40px;bottom:-70px;width:360px;height:360px;pointer-events:none}
.cta-inner>div,.cta-inner>a{position:relative}
.cta-button{display:inline-flex;align-items:center;gap:10px;flex-shrink:0;min-height:56px;padding:15px 28px;border-radius:4px;background:var(--accent);color:#fff;font-weight:700;text-decoration:none;white-space:nowrap;transition:background .15s}
.cta-button:hover{background:var(--accent-dark)}

/* Footer */
footer{max-width:1240px;border-top:1px solid var(--line);margin:auto;padding:24px 44px;display:flex;align-items:center;justify-content:space-between;color:var(--muted)}
footer p{margin:0;font-size:12px}
.footer-brand{display:flex;align-items:center;gap:10px}
.footer-brand svg{width:26px;height:26px}
.footer-wordmark{font-family:var(--display);font-weight:800;letter-spacing:-1px;font-size:20px;color:var(--ink)}

/* Floating shortcut back to the form once it has scrolled away. */
.sticky-join{position:fixed;left:50%;bottom:20px;z-index:20;transform:translateX(-50%);display:inline-flex;align-items:center;gap:10px;min-height:52px;padding:14px 26px;border-radius:40px;background:var(--accent);color:#fff;font-weight:700;text-decoration:none;white-space:nowrap;box-shadow:0 14px 30px -12px #d9731a99,0 2px 6px #1b273522;animation:rise .25s ease-out}
.sticky-join[hidden]{display:none}
.sticky-join:hover{background:var(--accent-dark)}
@keyframes rise{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
#signup{scroll-margin-top:24px}

/* Desktop: one-line headline, bigger strip, sizes follow the window height too. */
@media(min-width:981px){
  .hero{max-width:1180px;padding:30px 40px 36px}
  .crowd{margin-bottom:clamp(16px,2.4vh,26px)}
  /* "Ship more with" is one word longer than "Do more with": cap at 110px so the line is the same width as Liam's 120px one. */
  .hero h1{font-size:min(7.8vw,11vh,110px);letter-spacing:-.05em;line-height:1;white-space:nowrap;margin:0 0 clamp(14px,2.6vh,26px)}
  .hero h1 .plain:first-child{display:inline}
  .intro{margin:0 auto clamp(40px,5.4vh,58px)}
  .ship-strip{max-width:min(560px,60vh);margin:0 auto clamp(26px,5vh,48px)}
  .signup{max-width:540px;margin:0 auto clamp(22px,4vh,38px)}
}
@media(max-width:980px){
  .place-list{grid-template-columns:1fr;gap:14px}
  .place{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:stretch}
  .place img{aspect-ratio:auto;height:0;min-height:100%}
  .place>div{padding:20px 22px 22px}
  .place-icon{position:static;width:40px;height:40px;border-radius:11px;margin-bottom:12px}
  .place-icon svg{width:21px;height:21px}
  .sample{grid-template-columns:1fr;gap:44px}
  .email-mock{max-width:560px}
}
@media(max-width:700px){
  .masthead{padding:16px 20px}
  .brand{gap:9px}.brand svg{width:30px;height:30px}.brand .wordmark{font-size:23px}
  .masthead-note{font-size:9.5px;letter-spacing:1px}
  .hero{padding:22px 22px 26px}
  .hero-copy{min-height:min(calc(100vh - 111px),660px);min-height:min(calc(100svh - 111px),660px);container:hero / inline-size}
  .crowd{gap:8px;margin:0 0 30px}
  .crowd-copy{font-size:12.5px}
  .who-long{display:none}
  .hero h1{font-size:min(74px,15.6cqi);letter-spacing:-.05em;line-height:1.03;margin:auto 0 16px}
  .intro{font-size:17px;line-height:1.65;margin:0 auto 30px;max-width:490px}
  .ship-strip{max-width:clamp(290px,75cqi,362px);margin:0 auto 22px}
  .signup{max-width:370px;margin:0 auto 34px}
  .signup-fields{flex-direction:row;padding:5px;gap:6px;border-radius:10px}
  .signup-fields input{min-height:46px;padding:10px 12px;font-size:16px}
  .signup-fields .formkit-submit{width:auto;min-height:46px;padding:10px 16px;flex-shrink:0;border-radius:7px}
  .formkit-submit>span{gap:8px;font-size:15px}
  .author{gap:10px}
  .author>img{width:42px;height:42px}
  .author-name{font-size:14px}
  .author-description{font-size:12.5px;line-height:1.5}
  .ig-badge{padding:6px 10px 6px 9px;margin-left:4px !important}
  .section{padding:52px 24px}
  .section-title{letter-spacing:-1px}
  .place{display:block}
  .place img{height:auto;min-height:0;aspect-ratio:2/1}
  .place>div{padding:30px 18px 20px}
  .place-icon{position:absolute;top:-22px;left:16px;width:44px;height:44px;margin:0}
  .place-tag{font-size:10px;margin-bottom:6px}
  .place h3{font-size:18px;margin-bottom:6px}
  .place p:last-child{font-size:14px;line-height:1.6}
  .specs li{font-size:16px}
  .email-mock{padding:20px 18px 20px}
  .cta-band{padding:0 16px;margin-bottom:40px}
  .cta-inner{flex-direction:column;align-items:flex-start;padding:44px 26px;gap:28px}
  .cta-button{width:100%;justify-content:center}
  .cta-mark{width:240px;height:240px;right:-50px;bottom:-60px}
  footer{padding:23px 24px}
  .sticky-join{left:16px;right:16px;bottom:14px;transform:none;justify-content:center;animation:rise-m .25s ease-out}
  @keyframes rise-m{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
}
@container hero (max-width:350px){.crowd-copy{font-size:12px}}
@container hero (max-width:309px){.crowd{flex-direction:column;gap:8px}.crowd-copy{text-align:center}}
@media(max-width:400px){
  .masthead-note{max-width:100px;text-align:right;line-height:1.5}
  .hero h1{letter-spacing:-1.8px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  button{transition:none}
  .ls-beam,.ls-load-g,.ls-ball-g,.ls-ball-spin,.ls-puff,.sticky-join,.crowd-dot{animation:none}
  .ls-beam{transform:rotate(-6.1deg)}
  .formkit-submit[data-active] .formkit-spinner{animation:none}
}
