/* Evenday's landing page: warm paper, deep teal, and the sun on a level horizon. */
@font-face { font-family: 'Bricolage Grotesque'; src: url('/platform/fonts/bricolage-grotesque.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/platform/fonts/instrument-sans.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
body.ed { --paper: #FAF7F0; --paper-2: #F2EDE1; --ink: #16263A; --muted: #4F5D69; --teal: #0E5F66; --teal-deep: #0A474C; --sun: #F2A93B; --sun-soft: #FCEBCB; --line: #E4DDCC;
  --card: #FFFFFF; --page: var(--paper); --accent: var(--teal); --accent-soft: #DDEDEC;
  background: var(--paper); color: var(--ink); font: 17px/1.55 'Instrument Sans', system-ui, sans-serif; color-scheme: light; }
.ed h1, .ed h2, .ed h3, .ed-logo span, .ed-price-big { font-family: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif; letter-spacing: -0.025em; }
.ed-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.ed a { color: var(--teal); }

/* Top bar */
.ed-top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.ed-top-in { display: flex; align-items: center; gap: 20px; min-height: 68px; flex-wrap: wrap; }
.ed-logo { display: flex; align-items: center; gap: 10px; color: var(--ink) !important; text-decoration: none; }
.ed-logo img { width: 34px; height: 34px; }
.ed-logo span { font-size: 25px; font-weight: 700; }
.ed-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.ed-nav a { color: var(--ink); text-decoration: none; } .ed-nav a:hover { color: var(--teal); }

/* Buttons */
.ed-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px 'Instrument Sans', system-ui, sans-serif; text-decoration: none !important; border: 2px solid transparent; transition: transform .12s ease; }
.ed-btn:hover { transform: translateY(-1px); }
.ed-btn.sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.ed-btn-sun { background: var(--sun); color: var(--ink) !important; }
.ed-btn-teal { background: var(--teal); color: #fff !important; }
.ed-btn-line { border-color: var(--ink); color: var(--ink) !important; background: transparent; }

/* Hero: the sun rising behind the words, sitting on the horizon line */
.ed-hero { position: relative; overflow: hidden; padding: 64px 0 0; }
.ed-sun { position: absolute; left: 50%; bottom: 36px; width: min(1100px, 150vw); aspect-ratio: 2 / 1; transform: translateX(-50%); border-radius: 1100px 1100px 0 0;
  background: radial-gradient(circle at 50% 100%, var(--sun-soft) 0 45%, #FDF3E1 45% 62%, transparent 62%); }
.ed-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: end; padding-bottom: 56px; }
.ed-kicker { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.ed-hero h1 { margin: 0; font-size: clamp(44px, 7vw, 84px); line-height: .98; font-weight: 700; }
.ed-lead { margin: 22px 0 28px; font-size: 20px; color: var(--muted); max-width: 34em; }
.ed-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }
.ed-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.ed-horizon { position: relative; height: 36px; background: var(--paper); border-top: 3px solid var(--ink); }
.ed-horizon::after { content: ''; position: absolute; left: 50%; top: 14px; width: 30%; height: 3px; transform: translateX(-50%); background: var(--ink); opacity: .35; border-radius: 3px; }

/* The Today card */
.ed-today { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px 18px 8px; box-shadow: 0 24px 60px -30px rgba(22, 38, 58, .45); }
.ed-today-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; } .ed-today-head b { font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; } .ed-today-head span { color: var(--muted); font-size: 14px; }
.ed-row { display: grid; grid-template-columns: 44px 14px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--paper-2); }
.ed-row .t { font-size: 13px; color: var(--muted); text-align: right; }
.ed-row .d { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line); background: var(--card); }
.ed-row.done .d { background: var(--teal); border-color: var(--teal); }
.ed-row.now { background: #EEF6F5; margin: 0 -10px; padding: 10px; border-radius: 12px; border-top-color: transparent; }
.ed-row.now .d { background: var(--sun); border-color: var(--sun); box-shadow: 0 0 0 5px rgba(242, 169, 59, .25); }
.ed-row .w { display: flex; flex-direction: column; min-width: 0; } .ed-row .w small { color: var(--muted); font-size: 13px; }
.ed-row .w em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.ed-row .c { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.ed-row i { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--paper-2); color: var(--muted); white-space: nowrap; }
.ed-row i.ok { background: #DDF1E4; color: #17603A; } .ed-row i.warn { background: var(--sun-soft); color: #7A4B00; } .ed-row i.info { background: #DDEDEC; color: var(--teal-deep); }

/* Sections */
.ed-section { padding: 88px 0 0; }
.ed-section h2, .ed-band h2 { margin: 0 0 10px; font-size: clamp(32px, 4.5vw, 48px); line-height: 1.05; font-weight: 700; }
.ed-sub { margin: 0; font-size: 19px; color: var(--muted); max-width: 40em; }

/* A day with Evenday: four stops along the day, the sun climbing then setting */
.ed-day { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; position: relative; }
.ed-day::before { content: ''; position: absolute; left: 0; right: 0; top: 13px; height: 3px; background: var(--ink); border-radius: 3px; }
.ed-day li { position: relative; padding-top: 44px; }
.ed-day li::before { content: ''; position: absolute; top: 0; left: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--sun); border: 3px solid var(--paper); box-shadow: 0 0 0 3px var(--ink); }
.ed-day li:nth-child(1)::before { background: #FBDDA5; } .ed-day li:nth-child(4)::before { background: #E07A3F; }
.ed-time { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.ed-day h3 { margin: 6px 0 8px; font-size: 23px; } .ed-day p { margin: 0; color: var(--muted); font-size: 16px; }

.ed-more { padding-top: 64px; }
.ed-more-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ed-more-in > div { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.ed-more h3 { margin: 0 0 8px; font-size: 21px; } .ed-more p { margin: 0; color: var(--muted); font-size: 16px; }

/* Pricing */
/* Plans: Free, Solo, Team (filled from the console's prices), and what every plan has. */
.ed-plans-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.ed-toggle { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; padding: 3px; background: var(--card); }
.ed-toggle button { border: 0; background: none; font: inherit; font-weight: 600; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.ed-toggle button.on { background: var(--ink); color: var(--card); } .ed-toggle small { font-weight: 500; opacity: .8; }
.ed-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ed-plan { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.ed-plan h3 { margin: 0 0 6px; } .ed-plan p { margin: 6px 0; } .ed-plan-who { color: var(--muted); }
.ed-plan-price b { font-family: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif; font-size: 44px; letter-spacing: -0.025em; }
.ed-plan-main { border: 2px solid var(--ink); position: relative; overflow: hidden; }
.ed-plan-main::after { content: ''; position: absolute; right: -50px; top: -50px; width: 130px; height: 130px; border-radius: 50%; background: var(--sun-soft); z-index: 0; }
.ed-plan-main > * { position: relative; z-index: 1; }
.ed-plan-all { margin: 24px 0 10px; padding: 0; list-style: none; columns: 2; column-gap: 40px; }
.ed-plan-all li { padding: 8px 0; border-top: 1px solid var(--paper-2); break-inside: avoid; }
.ed-price-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.ed-price { position: relative; overflow: hidden; background: var(--card); border: 2px solid var(--ink); border-radius: 26px; padding: 32px; }
.ed-price::after { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--sun-soft); z-index: 0; }
.ed-price > * { position: relative; z-index: 1; }
.ed-price-top { display: flex; align-items: center; gap: 14px; } .ed-price-top small { color: var(--muted); font-size: 14px; }
.ed-price-big { font-size: 80px; font-weight: 700; line-height: 1; }
.ed-price ul { margin: 22px 0 10px; padding: 0; list-style: none; } .ed-price li { padding: 10px 0; border-top: 1px solid var(--paper-2); }
.ed-small { font-size: 14px; color: var(--muted); margin: 0 0 18px; }

/* Security: a deep teal band */
.ed-band { margin-top: 96px; padding: 80px 0; background: var(--teal); color: #F4F1E8; position: relative; overflow: hidden; }
.ed-band::before { content: ''; position: absolute; right: -120px; bottom: -220px; width: 420px; height: 420px; border-radius: 50%; background: rgba(242, 169, 59, .22); }
.ed-band h2 { color: #fff; position: relative; }
.ed-band-grid { position: relative; margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.ed-band-grid div { border-top: 2px solid rgba(255, 255, 255, .35); padding-top: 16px; }
.ed-band h3 { margin: 0 0 6px; font-size: 22px; color: #fff; } .ed-band p { margin: 0; color: #D6E5E3; }
.ed-band-foot { position: relative; margin-top: 32px !important; font-weight: 600; color: #fff !important; }

/* Moving in, and something customised: side by side */
.ed-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ed-duo .ed-moving { flex-direction: column; align-items: flex-start; justify-content: space-between; }
.ed-custom { background: var(--card) !important; border: 2px solid var(--ink); }
@media (max-width: 860px) { .ed-duo { grid-template-columns: minmax(0, 1fr); } }
/* Moving in */
.ed-moving { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--sun-soft); border-radius: 26px; padding: 36px 40px; }
.ed-moving h2 { font-size: clamp(28px, 3.6vw, 38px); }

/* Questions */
.ed-faq details { border-top: 2px solid var(--ink); padding: 18px 0; } .ed-faq details:last-of-type { border-bottom: 2px solid var(--ink); }
.ed-faq summary { cursor: pointer; font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.ed-faq summary::after { content: '+'; font-size: 28px; line-height: 1; color: var(--teal); } .ed-faq details[open] summary::after { content: '–'; }
.ed-faq summary::-webkit-details-marker { display: none; }
.ed-faq p { margin: 12px 0 0; color: var(--muted); max-width: 46em; }

/* Sign-up */
.ed-signup-in { max-width: 820px; }
.ed .pf-card { border-radius: 22px; border-color: var(--line); padding: 28px; }
.ed .pf-card h2 { font-family: 'Bricolage Grotesque', sans-serif; font-size: 24px; }
.ed .pf-btn { border-radius: 999px; background: var(--teal); }
.ed .pf-type.on { box-shadow: 0 0 0 2px var(--teal); }

/* Footer: the horizon again */
.ed-foot { margin-top: 96px; border-top: 3px solid var(--ink); padding: 26px 0 40px; }
.ed-foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ed-foot nav { display: flex; gap: 22px; } .ed-foot nav a { color: var(--muted); text-decoration: none; font-size: 15px; }

@media (max-width: 860px) {
  .ed-hero-in, .ed-price-in, .ed-plans { grid-template-columns: minmax(0, 1fr); }
  .ed-plan-all { columns: 1; }
  .ed-more-in { grid-template-columns: minmax(0, 1fr); }
  .ed-day { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-left: 40px; }
  .ed-day::before { left: 12px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .ed-day li { padding-top: 0; } .ed-day li::before { left: -40px; top: 2px; }
  .ed-more-in, .ed-band-grid { grid-template-columns: minmax(0, 1fr); }
  .ed-nav a:not(.ed-btn) { display: none; }
  .ed-moving { padding: 28px 24px; }
  .ed-row { grid-template-columns: 38px 12px minmax(0, 1fr); row-gap: 6px; }
  .ed-row .c { grid-column: 3; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .ed-btn { transition: none; } .ed-btn:hover { transform: none; } }
