:root { --orange: #f2541b; --orange-text: #c8410f; }

.ot {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: 120px var(--gutter) 96px;
  text-align: center;
}

/* logo ring. --u is one T, --r the ring radius (same ratio as the logo file) */
.ring {
  --u: clamp(46px, 9vw, 96px);
  --r: calc(var(--u) * 1.75);
  position: relative;
  width: calc(var(--r) * 2 + var(--u) * 1.1);
  height: calc(var(--r) * 2 + var(--u) * 1.1);
  border: 0; background: none; padding: 0; cursor: pointer;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.slot {
  position: absolute; left: 50%; top: 50%;
  width: var(--u); height: var(--u);
  margin: calc(var(--u) / -2) 0 0 calc(var(--u) / -2);
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1));
}
.spin, .land, .flip, .slot svg { display: block; width: 100%; height: 100%; }
.slot svg { fill: currentColor; }
.odd .flip { transform: perspective(400px) rotateX(180deg); color: var(--orange); }

/* 1. every T spins in place and settles, 50ms apart */
.play .spin { animation: spin 1200ms cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i) * 50ms) both; }
@keyframes spin {
  0%   { transform: rotate(-540deg) scale(0.6); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: rotate(0) scale(1); opacity: 1; }
}

/* 2. the odd one flips over its crossbar, turning orange as it goes past edge-on */
.play .odd .flip { animation: flip 700ms cubic-bezier(0.45, 0, 0.2, 1) 1650ms both; }
@keyframes flip {
  0%     { transform: perspective(400px) rotateX(0) scale(1); color: var(--ink); }
  49.9%  { color: var(--ink); }
  50%    { transform: perspective(400px) rotateX(90deg) scale(1.28); color: var(--orange); }
  100%   { transform: perspective(400px) rotateX(180deg) scale(1); color: var(--orange); }
}

/* 3. it lands: a quick squash, and the other five take the hit */
.play .odd .land { animation: land 260ms ease-out 2350ms both; }
@keyframes land {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.08, 0.9); }
  100% { transform: scale(1); }
}
.play .slot:not(.odd) .flip { animation: thud 220ms ease-out 2350ms both; }
@keyframes thud {
  40% { transform: scale(0.95); }
}

/* 4. name, then the mission */
.wordmark {
  margin-top: clamp(18px, 3vw, 36px);
  font-size: clamp(15px, 1.6vw, 20px); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.32em;
  margin-right: -0.32em;
}
.mission { max-width: 34rem; margin-top: clamp(40px, 6vw, 72px); }
.mission .lead u { text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 92% / 100% 0.12em; padding-bottom: 0.06em; }
.tabs a[href="/offtemplate"]::after { background: var(--orange); }
.mission .lead {
  font-size: clamp(24px, 2.8vw, 36px); font-weight: 700;
  line-height: 1.12; letter-spacing: -0.025em; color: var(--ink);
}
.mission p { margin-top: 18px; font-size: 16px; line-height: 1.55; color: #55554f; }
.mission .body { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); font-weight: 500; line-height: 1.55; color: #2a2a28; letter-spacing: -0.005em; }
.mission p + p { margin-top: 14px; }

.wordmark, .mission > * { opacity: 0; }
.play .wordmark { animation: rise 500ms cubic-bezier(0.16, 1, 0.3, 1) 2450ms both; }
.play .mission > * { animation: rise 600ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.play .mission > :nth-child(1) { animation-delay: 2650ms; }
.play .mission > :nth-child(2) { animation-delay: 2720ms; }
.play .mission > :nth-child(3) { animation-delay: 2790ms; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .play .spin, .play .odd .flip, .play .odd .land, .play .slot:not(.odd) .flip,
  .play .wordmark, .play .mission > * { animation: none; }
  .wordmark, .mission > * { opacity: 1; }
}

/* call to action under the mission */
.cta { display: inline-block; margin-top: 30px; font-size: 16px; font-weight: 700; color: var(--bg); background: var(--ink); border-radius: 999px; padding: 15px 26px; transition: transform 120ms ease-out, background-color 140ms ease-out; }
.cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .cta:hover { background: #2a2a28; } }

/* 6. a flat cheap template that says so itself, then Abbie's real site */
.four { width: 100%; max-width: 64rem; margin-top: clamp(88px, 12vw, 140px); display: flex; flex-direction: column; align-items: center; }
.four h2, .how h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #6f6f6b; margin-bottom: 14px; }
.tag-b { color: var(--orange-text); }

/* the template: default fonts, centered everything, stock blue, boxes in a row */
.cheap { width: 100%; background: #fff; color: #333; font-family: Arial, Helvetica, sans-serif; text-align: center; border: 1px solid #cfcfcb; }
.c-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px clamp(14px, 3vw, 28px); background: #2b6cb0; color: #fff; }
.c-top b { font: italic clamp(15px, 2vw, 22px) Georgia, serif; text-align: left; }
.c-top nav { font-size: clamp(11px, 1.2vw, 14px); white-space: nowrap; }
.c-hero { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: clamp(48px, 8vw, 96px) clamp(18px, 6vw, 72px); background: linear-gradient(#8a9099, #5f6670); color: #fff; }
.c-hero > * { position: relative; opacity: 0; transform: translateY(24px); transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1); }
.c-hero.in > * { opacity: 1; transform: none; }
.c-hero.in > :nth-child(2) { transition-delay: 90ms; }
.c-hero.in > :nth-child(3) { transition-delay: 180ms; }
@media (prefers-reduced-motion: reduce) { .c-hero > * { opacity: 1; transform: none; transition: none; } }
.c-hero h3 { font: bold clamp(22px, 3.6vw, 40px)/1.15 Arial, sans-serif; text-transform: uppercase; letter-spacing: 0.02em; max-width: 22em; }
.c-hero p { font: italic clamp(15px, 1.8vw, 20px)/1.45 Georgia, serif; max-width: 34em; }
.c-btn { display: inline-block; margin-top: 6px; padding: 11px 26px; background: #3182ce; color: #fff; border-radius: 5px; font: bold 14px Arial, sans-serif; letter-spacing: 0.06em; }
.c-sec { padding: clamp(28px, 4vw, 44px) clamp(14px, 6vw, 72px); border-bottom: 1px solid #e2e2e2; }
.c-sec:nth-of-type(odd) { background: #f3f5f7; }
.c-sec h4 { font: bold clamp(22px, 2.8vw, 30px) Arial, sans-serif; color: #2b6cb0; margin-bottom: 16px; }
.c-grid, .c-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.6vw, 16px); }
.c-grid i { display: block; aspect-ratio: 1; background: #d9dde2; border: 3px solid #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25); }
.c-svc div { border: 1px solid #ccc; padding: clamp(12px, 2vw, 22px) 8px; background: #fff; font-size: clamp(12px, 1.4vw, 16px); }
.c-svc i { display: block; width: clamp(32px, 5vw, 54px); aspect-ratio: 1; margin: 0 auto 10px; border-radius: 50%; background: #bee3f8; }
.c-svc b { display: block; margin-bottom: 4px; }
.c-svc u { color: #3182ce; }
.c-foot { padding: 18px; background: #2d3748; color: #cbd5e0; font-size: clamp(10px, 1.1vw, 13px); }

/* the real one */
.truly { margin: clamp(88px, 12vw, 140px) 0 clamp(20px, 3vw, 28px); max-width: 18em; text-align: center; }
.real { display: block; width: 100%; border: 2px solid var(--orange); border-radius: 10px; overflow: hidden; background: #f1ece6; transition: transform 160ms ease-out; }
.real .bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: 11px; color: #55554f; background: #f6f6f4; }
.real .bar i { width: 7px; height: 7px; border-radius: 50%; background: #dcdcd8; }
.real .bar span { margin-left: 8px; }
.reel { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .real:hover { transform: translateY(-3px); } }
.credit { margin-top: 16px; font-size: 14px; }
.credit a { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; justify-content: center; align-items: baseline; }
.credit span { color: #55554f; }
.credit em { font-style: normal; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--orange); }
@media (max-width: 560px) { .c-top nav { display: none; } }

/* 6b. whether you're a ___: the word cycles, its icon lights up */
.who { width: 100%; max-width: 64rem; margin-top: clamp(96px, 13vw, 160px); text-align: center; }
.who h2 { font-size: clamp(28px, 3.8vw, 48px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.12; }
/* the word sits on its own line so the lines above and below never move when it changes */
.spin-word { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; padding-bottom: 0.08em; }
#whoWord { display: inline-block; color: var(--ink); background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 96% / 100% 0.1em; }
#whoWord.in { animation: wordin 380ms cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes wordin { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.who-sub { margin: 18px auto 0; max-width: 32rem; font-size: 17px; line-height: 1.55; color: #3d3d3a; }
.who-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: clamp(32px, 4vw, 48px); text-align: left; }
.who-list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px; font-weight: 500; color: #2a2a28; transition: border-color 160ms ease-out, background-color 160ms ease-out, color 160ms ease-out; }
.who-list svg { flex: none; width: 22px; height: 22px; stroke-width: 1.75; color: #6f6f6b; transition: color 160ms ease-out, transform 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.who-list li.on { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.who-list li.on svg { color: var(--orange); transform: scale(1.12); }
@media (max-width: 760px) { .who-list { grid-template-columns: repeat(2, 1fr); } .who-list li { padding: 12px; font-size: 14px; gap: 10px; } }
@media (prefers-reduced-motion: reduce) { #whoWord.in { animation: none; } }

/* 7. how it works */
.how { width: 100%; max-width: 64rem; margin-top: clamp(88px, 12vw, 140px); text-align: left; }
.how ol { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: 32px; }
.how li { counter-increment: step; border-top: 1.5px solid var(--ink); padding-top: 16px; font-size: 16px; line-height: 1.55; color: #55554f; }
.how li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--orange-text); margin-bottom: 10px; }
.how li b { display: block; color: var(--ink); font-size: 19px; letter-spacing: -0.015em; margin-bottom: 6px; }

@media (max-width: 760px) {
  .how ol { grid-template-columns: 1fr; gap: 28px; }
}

/* 7b. pricing */
.price { width: 100%; max-width: 64rem; margin-top: clamp(80px, 11vw, 130px); text-align: center; }
.price h2 { font-size: clamp(44px, 7vw, 88px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.price p:last-child { margin: 16px auto 0; max-width: 30rem; font-size: 17px; line-height: 1.55; color: #3d3d3a; }

/* 5. inquiry form */
.ask { width: 100%; max-width: 64rem; margin-top: clamp(72px, 10vw, 128px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); text-align: left; }
.ask h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.ask-sub { margin-top: 14px; font-size: 16px; line-height: 1.55; color: #55554f; max-width: 30rem; }
#askForm { margin-top: 40px; display: grid; gap: 28px; }
.row { display: grid; gap: 28px; }
@media (min-width: 640px) { .row { grid-template-columns: 1fr 1fr; gap: 32px; } }
.fld { display: grid; gap: 10px; border: 0; min-width: 0; }
.fld > span, .fld legend { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink); padding: 0; }
.fld legend { margin-bottom: 12px; }
.fld i { font-style: normal; color: var(--orange); }
.fld em { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; color: #6f6f6b; margin-left: 6px; }
.fld input, .fld select, .fld textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid #cfcfcb; border-radius: 0;
  padding: 6px 0 10px; outline: none; -webkit-appearance: none; appearance: none;
  transition: border-color 140ms ease-out;
}
.fld textarea { border: 1.5px solid #cfcfcb; padding: 12px 14px; resize: vertical; min-height: 130px; line-height: 1.5; }
.fld select { cursor: pointer; padding-right: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230b0b0b' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 2px center; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--ink); }
.fld input::placeholder, .fld textarea::placeholder { color: #b4b4b0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 10px 16px; border: 1.5px solid #cfcfcb; border-radius: 999px; font-size: 15px; transition: background-color 140ms ease-out, border-color 140ms ease-out, color 140ms ease-out; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chips input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .chips label:hover span { border-color: var(--ink); } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.send button { font: inherit; font-size: 16px; font-weight: 700; color: var(--bg); background: var(--ink); border: 0; border-radius: 999px; padding: 17px 30px; cursor: pointer; transition: transform 120ms ease-out, background-color 140ms ease-out; }
.send button:not(.mark):active { transform: scale(0.97); }
.send button[disabled] { opacity: 0.6; cursor: wait; }
@media (hover: hover) and (pointer: fine) { .send button:not(.mark):hover { background: #2a2a28; } }
.msg { font-size: 15px; color: #55554f; }
.msg.err { color: #c0321a; }
.done { padding: 40px 0; border-top: 1.5px solid var(--ink); }
.done h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.03em; }
.done p { margin-top: 10px; color: #55554f; line-height: 1.55; }

/* 8. the small mark by Send: the logo ring is the O, "ff Template" comes out of it once the T lands */
.send button.mark { margin-left: auto; padding: 4px 0; border-radius: 0; font-weight: 400; color: var(--ink); background: none; }
.mark { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; border: 0; background: none; padding: 4px 0; cursor: pointer; color: var(--ink); font: inherit; -webkit-tap-highlight-color: transparent; }
.mini { --u: 8px; --r: calc(var(--u) * 1.75); position: relative; flex: none; width: calc(var(--r) * 2 + var(--u) * 1.1); height: calc(var(--r) * 2 + var(--u) * 1.1); }
.mspin, .mland, .mflip { display: block; width: 100%; height: 100%; }
.ff { font-size: 46px; line-height: 1; font-weight: 700; letter-spacing: -0.035em; white-space: nowrap; padding-bottom: 0.08em; clip-path: inset(0 100% 0 0); }
.mark.go .mspin { animation: spin 1200ms cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i) * 50ms) both; }
.mark.go .odd .mflip { animation: flip 700ms cubic-bezier(0.45, 0, 0.2, 1) 1650ms both; }
.mark.go .odd .mland { animation: land 260ms ease-out 2350ms both; }
.mark.go .slot:not(.odd) .mflip { animation: thud 220ms ease-out 2350ms both; }
.mark.go .ff { animation: ffout 520ms cubic-bezier(0.16, 1, 0.3, 1) 2380ms both; }
@keyframes ffout {
  from { clip-path: inset(0 100% 0 0); transform: translateX(-6px); }
  to   { clip-path: inset(0 0 0 0); transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mark.go .mspin, .mark.go .odd .mflip, .mark.go .odd .mland, .mark.go .slot:not(.odd) .mflip, .mark.go .ff { animation: none; }
  .ff { clip-path: none; }
  .mini .odd .mflip { transform: perspective(400px) rotateX(180deg); color: var(--orange); }
}
