@font-face { font-family: "Comfortaa"; src: url("fonts/comfortaa.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
/* Layout: a morning page. The sunrise path opens the screen with the "one small step a day" logo in the sky;
   below, the picture settles into warm paper, with the app's navy ink and sun-orange accents. */
:root {
  --paper: #fbf7ef;
  --paper-2: #f3ece0;
  --navy: #002166;
  --navy-soft: #2a4478;
  --ink: #1d2a44;
  --mist: #56627a;
  --sun: #de6d16;
  --sun-soft: #f6b46b;
  --line: rgba(0, 33, 102, .14);
  --panel: rgba(255, 255, 255, .72);

  --brand: "Comfortaa", "Varela Round", "Nunito", system-ui, sans-serif;
  --body: "Lexend", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --step--1: clamp(.8rem, .78rem + .1vw, .86rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.15rem, 1.05rem + .45vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + .9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.2rem);

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 300;
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
main { overflow-x: clip; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--sun); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 10; }
.brandface { font-family: var(--brand); font-weight: 500; color: var(--navy); letter-spacing: -.01em; }

/* Header: transparent over the sky, light glass once the page scrolls */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 5; padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid transparent; transition: background-color .35s ease, border-color .35s ease; }
.site-header.is-scrolled { background-color: rgba(251, 247, 239, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; max-width: none; transition: padding .35s ease; }
.site-header.is-scrolled .wrap { padding-block: .55rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--navy); font-family: var(--brand); font-weight: 600; font-size: 1rem; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.brand img { width: 2.1rem; height: 2.1rem; border-radius: 22%; box-shadow: 0 4px 12px -4px rgba(0, 20, 60, .45); }
.site-header.is-scrolled .brand { opacity: 1; pointer-events: auto; }
.by-studio { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; color: var(--navy); opacity: .85; transition: opacity .2s ease; }
.by-studio:hover { opacity: 1; color: var(--navy); }
.by-studio span { font-size: .78rem; letter-spacing: .04em; font-style: italic; }
.by-studio img { height: 1.6rem; width: auto; }
@media (max-width: 420px) { .by-studio img { height: 1.3rem; } .brand span { display: none; } }

/* Hero: the sunrise path, sun in the middle, the logo in the sky above it */
.hero { position: relative; height: max(36rem, 100svh); overflow: hidden; display: grid; padding: 0; background: #e9eef4; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 38% at 50% 22%, rgba(255, 255, 255, .55), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 22%; background: linear-gradient(180deg, transparent, var(--paper)); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; align-self: start; display: grid; justify-items: center; text-align: center; gap: clamp(.6rem, 1.6vh, 1rem); padding-top: clamp(4.5rem, 11vh, 8rem); }
.hero h1 { margin: 0; }
.hero .logo { width: min(30rem, 74vw); filter: drop-shadow(0 2px 14px rgba(255, 255, 255, .7)); }

.status { display: inline-flex; align-items: center; gap: .5rem; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; padding: .38rem .9rem; border-radius: 999px; color: var(--navy); background: rgba(255, 255, 255, .7); border: 1px solid rgba(0, 33, 102, .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-weight: 400; }
.hero > .status { position: absolute; z-index: 1; left: 50%; top: max(50%, 20rem); transform: translate(-50%, -50%); }
.status::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--sun); box-shadow: 0 0 8px var(--sun-soft); }

/* Sections */
section { padding-block: clamp(3rem, 8vw, 6rem); }
.intro .wrap { max-width: 44rem; display: grid; gap: 1.3rem; text-align: center; }
.intro h2 { font-size: var(--step-3); margin-bottom: .4rem; }
.intro p { color: var(--mist); }
.intro .lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); line-height: 1.65; color: var(--ink); }
.intro .lead strong { font-weight: 500; color: var(--navy); }
.intro .aside { font-family: var(--brand); font-weight: 500; color: var(--sun); }

.kaizen { padding-block: 0 clamp(.5rem, 2vw, 1.5rem); }
.kaizen .wrap { max-width: 40rem; display: grid; justify-items: center; text-align: center; gap: .9rem; padding-block: clamp(1.8rem, 4vw, 2.6rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kaizen h2 { font-size: var(--step-2); }
.kaizen p { color: var(--mist); }
.section-head { display: grid; gap: .7rem; text-align: center; justify-items: center; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--mist); max-width: 32rem; }
.how { background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); counter-reset: none; }
.steps li { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 1.25rem; padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: .7rem; align-content: start; box-shadow: 0 18px 40px -30px rgba(0, 33, 102, .45); }
.steps .num { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--brand); font-weight: 700; font-size: 1.05rem; box-shadow: 0 0 0 5px rgba(222, 109, 22, .18); }
.steps h3 { font-family: var(--brand); font-weight: 600; font-size: var(--step-1); color: var(--navy); }
.steps p { color: var(--mist); font-size: .97em; }
.how-note { max-width: 40rem; margin: clamp(1.8rem, 4vw, 2.6rem) auto 0; text-align: center; color: var(--mist); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.practice { background: var(--paper-2); }
.practice .wrap { max-width: 46rem; display: grid; gap: 1.4rem; text-align: center; justify-items: center; }
.practice h2 { font-size: var(--step-3); }
.practice p { color: var(--mist); }
.practice .quote { font-size: var(--step-2); line-height: 1.35; color: var(--navy); padding-top: 1.2rem; position: relative; max-width: 24em; }
.practice .quote::before { content: ""; display: block; width: 3rem; height: 3px; border-radius: 3px; background: var(--sun); margin: 0 auto 1.4rem; }

.soon { background: linear-gradient(160deg, #0f2a4a, #1c4f7a); color: #f2f6fb; }
.soon .wrap { display: grid; justify-items: center; text-align: center; gap: 1rem; max-width: 40rem; }
.soon-icon { width: 5rem; height: 5rem; border-radius: 22%; box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .7); }
.soon h2 { font-size: var(--step-3); color: #fff; }
.soon p { color: #c9d6e6; }
.soon-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.2rem; padding-top: .4rem; }
.soc { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #ffd9a0; background: rgba(255, 255, 255, .05); transition: background .2s, color .2s, border-color .2s; }
.soc svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }
.soc:hover { background: #ffd9a0; border-color: #ffd9a0; color: #0f2a4a; }
.mail { color: #ffd9a0; }
.mail:hover { color: #fff; }

/* Footer */
.site-footer { background: #0b1f38; color: #a9b8c8; font-size: var(--step--1); padding-block: 2rem 2.4rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.studio { display: flex; align-items: center; gap: .8rem; color: #a9b8c8; text-decoration: none; }
.studio:hover { color: #fff; }
.studio img { height: 1.6rem; width: auto; }

/* 12 Oct 2026: footer in the same style as the other app sites */
.site-footer .wrap { flex-direction: column; align-items: stretch; gap: 1.4rem; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.site-footer .socs { display: flex; gap: .5rem; }
.site-footer .soc { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #ffd9a0; background: rgba(255, 255, 255, .04); transition: background .2s, color .2s, border-color .2s; }
.site-footer .soc svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.site-footer .soc:hover { background: #ffd9a0; border-color: #ffd9a0; color: #0b1f38; }

/* Share button (header) */
.share-btn { position: relative; display: inline-grid; place-items: center; flex: none; width: 2rem; height: 2rem; padding: 0; border-radius: 6px; border: 0; background: transparent; color: var(--navy); opacity: .8; cursor: pointer; transition: opacity .2s, color .2s; }
.share-btn:hover { opacity: 1; color: var(--navy); }
.share-btn svg { width: auto; height: 1.35rem; }
.share-tip { position: absolute; top: calc(100% + .5rem); right: 0; white-space: nowrap; font-size: .75rem; letter-spacing: .03em; padding: .3rem .7rem; border-radius: 999px; background: var(--navy); color: #fbf7ef; opacity: 0; pointer-events: none; transition: opacity .2s; }
.share-btn.copied .share-tip { opacity: 1; }
.head-right { display: flex; align-items: center; gap: .9rem; }
