@font-face {
    font-family: "Hedvig";
    src: url("fonts/hedvig-serif.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "Petra";
    src: url("fonts/petra-sans.ttf") format("truetype");
    font-display: swap;
}

:root {
    --teal: #3ca4ad;
    --teal-dark: #173f45;
    --teal-soft: #dceced;
    --pro: #7c3aed;
    --pro-dark: #5b21b6;
    --pro-soft: #f1eafe;
    --cream: #faf0e6;
    --paper: #fbfbf8;
    --white: #ffffff;
    --ink: #242422;
    --muted: #6f706b;
    --line: #e3e4de;
    --sage: #c7cab1;
    --blue: #a4c0c3;
    --pink: #d9b9bd;
    --peach: #fad0b9;
    --yellow: #fff7cf;
    --radius: 28px;
    --gutter: clamp(22px, 5vw, 78px);
    --sans: "Petra", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --serif: "Hedvig", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; }
button:focus-visible, a:focus-visible, textarea:focus-visible, summary:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 4px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--white);
    background: var(--teal-dark);
    transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: absolute;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px var(--gutter);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.03em;
    text-decoration: none;
}
.brand img { border-radius: 12px; }
.site-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); }
.site-nav a {
    font-size: 14px;
    text-decoration: none;
    transition: color 160ms ease;
}
.site-nav a:hover { color: var(--teal-dark); }
.site-nav .nav-download {
    padding: 11px 18px;
    border: 1px solid rgba(23, 63, 69, .18);
    border-radius: 999px;
    color: var(--white);
    background: var(--teal-dark);
}
.site-nav .nav-download:hover { color: var(--white); background: #0d3035; }
.menu-button { display: none; }

.hero {
    min-height: min(940px, 100vh);
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
    gap: clamp(36px, 6vw, 100px);
    align-items: center;
    padding: clamp(140px, 15vh, 190px) var(--gutter) clamp(90px, 10vh, 130px);
    background: var(--teal-soft);
}
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.hero h1, .intro h2, .section-heading h2, .showcase-copy h2, .feature-copy h2, .download h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .98;
}
.hero h1 { font-size: clamp(58px, 6.1vw, 102px); }
.hero h1 em, .intro h2 em {
    color: var(--teal-dark);
    font-style: italic;
    font-weight: 400;
}
.hero-summary {
    max-width: 600px;
    margin: 30px 0 32px;
    color: #4f5b5a;
    font-size: clamp(18px, 1.4vw, 22px);
    line-height: 1.55;
}
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 14px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--teal-dark); }
.button-primary:hover { background: #0d3035; }
.text-link { font-size: 15px; text-underline-offset: 5px; }
.hero-note { margin: 20px 0 0; color: #70817f; font-size: 12px; }

.hero-demo {
    position: relative;
    z-index: 1;
    min-height: 950px;
    display: grid;
    place-items: center;
}
.phone-shell {
    position: relative;
    z-index: 2;
    width: min(100%, 430px);
    aspect-ratio: 1260 / 2736;
    overflow: hidden;
    border: 1px solid rgba(24, 65, 70, .12);
    border-radius: 48px;
    background: #f2f2f7;
    box-shadow: 0 34px 80px rgba(23, 63, 69, .14), 0 7px 20px rgba(23, 63, 69, .08);
}
.phone-top {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 28px 0;
    font-size: 12px;
    font-weight: 700;
}
.phone-top .dynamic-island {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 108px;
    height: 30px;
    border-radius: 999px;
    background: #050505;
    transform: translateX(-50%);
}
.phone-status { font-size: 10px; letter-spacing: -.08em; }
.app-titlebar {
    height: 79px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 18px 12px;
}
.app-titlebar strong {
    font-size: 31px;
    font-weight: 700;
    letter-spacing: -.045em;
}
.app-titlebar button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0 0 3px;
    border: 0;
    border-radius: 50%;
    color: var(--teal-dark);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 24px rgba(34, 44, 44, .08);
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}
.app-scroll {
    position: absolute;
    inset: 123px 0 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 13px 96px;
    scrollbar-width: none;
    overscroll-behavior: contain;
}
.app-scroll::-webkit-scrollbar, .font-strip::-webkit-scrollbar { display: none; }
.live-note {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 12%;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 27px;
    color: var(--ink);
    background: var(--pink);
    box-shadow: 0 14px 30px rgba(31, 38, 37, .08);
    transition: color 160ms ease, background-color 160ms ease;
}
.live-note textarea {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    outline: 0;
    resize: none;
    color: inherit;
    background: transparent;
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1.08;
    text-align: center;
}
.note-signature {
    position: absolute;
    right: 17px;
    bottom: 14px;
    font-size: 10px;
    font-weight: 600;
    opacity: .7;
}
.note-signature.is-hidden { display: none; }
.style-panel {
    margin-top: 16px;
    padding: 17px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 10px 26px rgba(31, 38, 37, .045);
}
.style-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}
.style-panel-heading > strong {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 17px;
}
.style-panel-heading > strong span { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.alignment-control {
    width: 150px;
    height: 35px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 3px;
    border-radius: 999px;
    background: #ececef;
}
.alignment-control button {
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: #171717;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.alignment-control button:first-child { justify-items: start; padding-left: 10px; }
.alignment-control button:last-child { justify-items: end; padding-right: 10px; }
.alignment-control button.is-active { background: var(--white); box-shadow: 0 1px 5px rgba(0, 0, 0, .08); }
.control-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 9px;
    color: #88898d;
    font-size: 13px;
}
.control-label strong { font-weight: 600; }
.control-label span { color: #b7b7bb; font-size: 11px; }
.font-strip {
    display: flex;
    gap: 10px;
    margin: 0 -3px 14px;
    padding: 0 3px 2px;
    overflow-x: auto;
    scrollbar-width: none;
}
.font-choice {
    min-width: 132px;
    height: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 5px 9px;
    border: 1px solid #d9d9de;
    border-radius: 17px;
    color: var(--ink);
    background: #f3f3f7;
    cursor: pointer;
}
.font-choice b { font-family: var(--choice-font, var(--serif)); font-size: 29px; font-weight: 400; line-height: .95; }
.font-choice span { max-width: 100%; overflow: hidden; font-family: var(--choice-font, var(--serif)); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.font-choice:nth-child(2) { --choice-font: var(--sans); }
.font-choice.font-narrow { --choice-font: "Arial Narrow", var(--sans); }
.font-choice.is-active { border: 2px solid #10b8c3; color: #10b8c3; background: #e3f8f9; }
.size-control {
    height: 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 17px;
    padding: 3px;
    border-radius: 999px;
    background: #ececef;
}
.size-control button {
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: var(--ink);
    background: transparent;
    font-size: 12px;
    cursor: pointer;
}
.size-control button.is-active { background: var(--white); box-shadow: 0 1px 5px rgba(0, 0, 0, .07); }
.quick-styles { display: flex; justify-content: flex-start; gap: 13px; padding: 2px 4px 13px; }
.swatch {
    width: 37px;
    height: 37px;
    padding: 0;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--swatch);
    box-shadow: 0 0 0 1px rgba(27, 38, 37, .15);
    cursor: pointer;
}
.swatch.is-active { box-shadow: 0 0 0 3px var(--teal), 0 0 0 5px var(--white); }
.hashtag-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0 1px;
    border: 0;
    border-top: 1px solid #ececef;
    color: var(--ink);
    background: transparent;
    font-size: 13px;
    cursor: pointer;
}
.hashtag-row i {
    position: relative;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: var(--teal);
    transition: background 160ms ease;
}
.hashtag-row i::after {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
    content: "";
    transition: transform 160ms ease;
}
.hashtag-row[aria-pressed="false"] i { background: #d5d5da; }
.hashtag-row[aria-pressed="false"] i::after { transform: translateX(-18px); }
.visibility-panel {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 0 17px;
    border-radius: 19px;
    background: var(--white);
    font-size: 13px;
}
.visibility-panel b { color: #8d8e91; font-weight: 500; }
.app-actions {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 10px;
    margin-top: 14px;
}
.app-actions button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid #dadade;
    border-radius: 14px;
    color: var(--ink);
    background: var(--white);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.app-actions button:last-child {
    border: 0;
    color: var(--white);
    background: var(--teal);
}
.app-actions span, .app-actions i { display: inline-flex; align-items: center; }
.app-actions i { font-style: normal; }
.app-tabbar {
    position: absolute;
    z-index: 5;
    right: 14px;
    bottom: 14px;
    left: 14px;
    height: 66px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 13px 34px rgba(26, 37, 37, .11);
    backdrop-filter: blur(18px);
}
.app-tabbar button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: #171717;
    background: transparent;
    font-size: 9px;
}
.app-tabbar button span { font-size: 20px; line-height: 1; }
.app-tabbar button.is-active { color: #0eb8c3; background: rgba(224, 225, 228, .82); }
.floating-note {
    position: absolute;
    z-index: 1;
    width: 154px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 22px;
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1.06;
    text-align: center;
    box-shadow: 0 18px 44px rgba(29, 64, 67, .11);
}
.note-one { top: 7%; left: -3%; color: var(--ink); background: var(--pink); transform: rotate(-8deg); }
.note-two { right: -1%; bottom: 4%; color: var(--ink); background: var(--yellow); transform: rotate(7deg); }

.intro {
    padding: clamp(110px, 13vw, 190px) var(--gutter);
    text-align: center;
}
.intro h2 { font-size: clamp(48px, 5.8vw, 88px); }
.intro > p:last-child {
    max-width: 650px;
    margin: 34px auto 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7;
}
.how, .editions, .questions {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(50px, 8vw, 150px);
    padding: clamp(90px, 10vw, 150px) var(--gutter);
}
.how { border-top: 1px solid var(--line); }
.section-heading { align-self: start; }
.section-heading h2, .showcase-copy h2 { font-size: clamp(46px, 5vw, 74px); }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 28px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}
.step-number { padding-top: 5px; color: var(--teal); font-size: 12px; font-weight: 700; }
.steps h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 31px; font-weight: 400; letter-spacing: -.025em; }
.steps p { max-width: 530px; margin: 0; color: var(--muted); font-size: 16px; }

.style-showcase {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: clamp(50px, 8vw, 140px);
    align-items: center;
    padding: clamp(90px, 10vw, 150px) var(--gutter);
    background: #f2f2ec;
}
.showcase-copy > p { max-width: 460px; margin: 30px 0; color: var(--muted); font-size: 18px; }
.showcase-copy ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid #d8d9d1; }
.showcase-copy li { padding: 13px 0; border-bottom: 1px solid #d8d9d1; font-size: 14px; }
.showcase-copy li::before { content: "✓"; margin-right: 12px; color: var(--teal); }
.note-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.sample-note {
    position: relative;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 13%;
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(49, 54, 50, .08);
}
.sample-note p { margin: 0; font-family: var(--serif); font-size: clamp(23px, 2.1vw, 38px); line-height: 1.06; text-align: center; }
.sample-note span { position: absolute; right: 15px; bottom: 13px; font-size: 8px; font-weight: 600; opacity: .6; }
.sample-cream { background: var(--cream); transform: translateY(20px) rotate(-1deg); }
.sample-teal { background: var(--blue); transform: rotate(1.5deg); }
.sample-pink { background: var(--pink); transform: translateY(20px) rotate(1deg); }
.sample-dark { color: #f2f2f2; background: #212121; transform: rotate(-1deg); }
.sample-dark p { font-family: var(--sans); font-weight: 600; }

.keep-share { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-panel {
    min-height: 720px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 70px;
    padding: clamp(70px, 8vw, 120px) var(--gutter);
}
.library-panel { background: var(--cream); }
.choice-panel { background: var(--teal-soft); }
.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 42px;
    border-radius: 15px;
    color: var(--white);
    background: var(--teal);
    font-size: 26px;
}
.feature-copy { max-width: 570px; }
.feature-copy h2 { font-size: clamp(43px, 4.3vw, 68px); }
.feature-copy > p:last-child { max-width: 530px; margin: 26px 0 0; color: var(--muted); font-size: 17px; }
.mini-library {
    max-width: 560px;
    padding: 18px 22px;
    border: 1px solid rgba(50, 44, 37, .08);
    border-radius: 22px;
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 20px 50px rgba(67, 57, 46, .07);
}
.mini-library div { display: flex; justify-content: space-between; padding: 3px 0 12px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.mini-library div i { font-style: normal; }
.mini-library p { margin: 0; padding: 15px 0; border-top: 1px solid rgba(50, 44, 37, .08); font-family: var(--serif); font-size: 20px; }
.choice-control {
    max-width: 560px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-radius: 19px;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(23, 63, 69, .08);
    font-size: 14px;
}
.choice-control span { display: flex; align-items: center; gap: 10px; }
.choice-control span i { width: 32px; height: 32px; border-radius: 10px; background: var(--teal-soft); }
.choice-control b { min-width: 48px; padding: 7px 10px; border-radius: 999px; color: var(--muted); background: #efefeb; font-size: 11px; text-align: center; }

.editions { background: var(--white); }
.edition-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.edition-cards article {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 35px;
    padding: clamp(30px, 3vw, 46px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}
.edition-cards article.pro-card { border-color: #d8c4fb; background: var(--pro-soft); }
.edition-label { margin: 0 0 18px; color: var(--teal-dark); font-size: 13px; font-weight: 700; }
.edition-label span { display: block; margin-top: 5px; color: var(--teal); font-size: 10px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.pro-card .edition-label, .pro-card .edition-label span { color: var(--pro); }
.edition-cards h3 { margin: 0; font-family: var(--serif); font-size: clamp(28px, 2.3vw, 40px); font-weight: 400; line-height: 1.08; letter-spacing: -.03em; }
.edition-cards ul { margin: 0; padding: 0; list-style: none; }
.edition-cards li { padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.edition-cards li::before { content: "✓"; margin-right: 10px; color: var(--teal); }
.pro-card li::before { color: var(--pro); }
.button-pro { border-color: var(--pro); color: var(--white); background: var(--pro); }
.button-pro:hover { border-color: var(--pro-dark); background: var(--pro-dark); }
.button-secondary { border-color: var(--line); background: var(--white); }

.questions { border-top: 1px solid var(--line); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    cursor: pointer;
    list-style: none;
    font-family: var(--serif);
    font-size: 23px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; top: 8px; left: 1px; width: 16px; height: 1px; background: var(--ink); }
.faq-list summary i::after { transform: rotate(90deg); transition: transform 160ms ease; }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list details p { max-width: 650px; margin: -4px 0 26px; color: var(--muted); font-size: 15px; }

.download {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(100px, 12vw, 175px) var(--gutter);
    color: var(--white);
    background: var(--teal-dark);
    text-align: center;
}
.download img { margin-bottom: 28px; border-radius: 25px; }
.download h2 { font-size: clamp(50px, 6vw, 88px); }
.download > p { margin: 24px 0 34px; color: #bfd1d1; font-size: 18px; }
.download-actions { display: flex; gap: 12px; }
.button-light { color: var(--teal-dark); background: var(--white); }
.button-outline-light { border-color: rgba(255, 255, 255, .3); color: var(--white); }

.site-footer {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1.2fr auto;
    gap: 35px;
    align-items: start;
    padding: 54px var(--gutter);
    color: #a9bfbe;
    background: #102f33;
    font-size: 12px;
}
.footer-brand { color: var(--white); font-size: 16px; }
.footer-brand img { border-radius: 10px; }
.site-footer p { margin: 4px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 25px; }
.site-footer nav a { color: var(--white); text-decoration: none; }
.copyright { text-align: right; white-space: nowrap; }

@media (max-width: 1100px) {
    .hero { grid-template-columns: minmax(0, 1fr) minmax(390px, .8fr); gap: 36px; }
    .floating-note { width: 120px; font-size: 21px; }
    .note-one { left: -8%; }
    .note-two { right: -7%; }
    .how, .editions, .questions { grid-template-columns: 1fr; }
    .section-heading { max-width: 630px; }
    .style-showcase { grid-template-columns: .85fr 1.15fr; gap: 45px; }
    .keep-share { grid-template-columns: 1fr; }
    .feature-panel { min-height: 660px; }
    .site-footer { grid-template-columns: 1fr 1fr; }
    .copyright { text-align: left; }
}

@media (max-width: 820px) {
    .site-header { position: absolute; min-height: 76px; padding-top: 14px; padding-bottom: 14px; }
    .brand { font-size: 17px; }
    .brand img { width: 36px; height: 36px; }
    .menu-button {
        position: relative;
        z-index: 60;
        width: 42px;
        height: 42px;
        display: grid;
        place-content: center;
        gap: 6px;
        border: 1px solid rgba(23, 63, 69, .16);
        border-radius: 50%;
        background: rgba(255, 255, 255, .5);
    }
    .menu-button i { width: 17px; height: 1px; background: var(--ink); transition: transform 160ms ease; }
    .menu-button[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
    .menu-button[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
    .site-nav {
        position: fixed;
        inset: 0;
        z-index: 55;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 24px;
        padding: 90px var(--gutter);
        background: var(--teal-soft);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { font-family: var(--serif); font-size: 35px; }
    .site-nav .nav-download { font-family: var(--sans); font-size: 15px; }
    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 60px;
        padding-top: 130px;
    }
    .hero-copy { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-summary { margin-left: auto; margin-right: auto; }
    .hero-demo { min-height: 920px; }
    .phone-shell { width: min(88%, 420px); }
    .note-one { left: 0; }
    .note-two { right: 0; }
    .style-showcase { grid-template-columns: 1fr; }
    .showcase-copy { max-width: 620px; }
    .note-grid { max-width: 680px; }
    .edition-cards { grid-template-columns: 1fr; }
    .edition-cards article { min-height: 470px; }
}

@media (max-width: 560px) {
    :root { --gutter: 20px; --radius: 22px; }
    .hero { padding-bottom: 80px; }
    .hero h1 { font-size: clamp(48px, 14vw, 68px); }
    .hero-summary { font-size: 17px; }
    .hero-actions { flex-direction: column; gap: 18px; }
    .button { width: 100%; max-width: 330px; }
    .hero-note { padding: 0 25px; }
    .hero-demo { min-height: 850px; }
    .phone-shell { width: min(94%, 380px); border-radius: 35px; }
    .floating-note { width: 92px; border-radius: 17px; font-size: 17px; }
    .note-one { top: 1%; left: -8px; }
    .note-two { right: -8px; bottom: 1%; }
    .live-note textarea { font-size: 30px; }
    .quick-styles { gap: 10px; }
    .swatch { width: 34px; height: 34px; }
    .intro h2, .section-heading h2, .showcase-copy h2, .feature-copy h2 { font-size: 43px; }
    .intro > p:last-child { font-size: 17px; }
    .how, .editions, .questions { padding-top: 80px; padding-bottom: 80px; }
    .steps li { grid-template-columns: 40px 1fr; gap: 15px; }
    .steps h3 { font-size: 27px; }
    .style-showcase { padding-top: 80px; padding-bottom: 100px; }
    .note-grid { gap: 10px; }
    .sample-note { border-radius: 18px; }
    .sample-note p { font-size: 21px; }
    .feature-panel { min-height: 610px; padding-top: 75px; padding-bottom: 75px; }
    .feature-icon { margin-bottom: 32px; }
    .download-actions { width: 100%; flex-direction: column; align-items: center; }
    .site-footer { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
