/* Daily Gratitude website */

:root {
    --ink: #171817;
    --ink-soft: #3e4442;
    --muted: #69716d;
    --line: #dfe4df;
    --paper: #fbfaf7;
    --paper-alt: #f2f5ef;
    --surface: #ffffff;
    --amber: #f5a51b;
    --amber-dark: #a65b00;
    --teal: #0e7c72;
    --rose: #c74362;
    --indigo: #30416f;
    --dark: #101514;
    --dark-2: #1d2826;
    --focus: #0b68d0;
    --shadow-sm: 0 12px 28px rgba(18, 24, 22, 0.08);
    --shadow-md: 0 22px 60px rgba(18, 24, 22, 0.16);
    --radius: 8px;
    --max: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.55;
}

body::selection {
    background: rgba(245, 165, 27, 0.28);
}

a {
    color: var(--amber-dark);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--teal);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

p {
    color: var(--muted);
    margin: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    line-height: 1.08;
    letter-spacing: 0;
    margin: 0;
}

h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4rem;
    font-weight: 700;
}

h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.4rem;
    font-weight: 700;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

button,
input {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 999;
    transform: translateY(-160%);
    background: #ffffff;
    color: var(--ink);
    border: 2px solid var(--focus);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.container,
.nav-container,
.footer-content {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.container-narrow {
    width: min(840px, calc(100% - 40px));
    margin-inline: auto;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 250, 247, 0.88);
    border-bottom: 1px solid rgba(23, 24, 23, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-content,
.nav-container {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-brand,
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.nav-brand img {
    width: 34px;
    height: 34px;
    border-radius: 7px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    color: var(--ink-soft);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--amber-dark);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: var(--radius);
    background: var(--dark);
    color: #fff7e8 !important;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 96px;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(245, 165, 27, 0.18), transparent 55%),
        radial-gradient(90% 80% at 0% 100%, rgba(199, 67, 98, 0.1), transparent 60%),
        linear-gradient(180deg, #fffdf8, var(--paper));
}

.hero-glow {
    position: absolute;
    top: -160px;
    right: -120px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 165, 27, 0.28), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 56px;
}

.hero-copy {
    max-width: 620px;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(245, 165, 27, 0.16);
    color: #8a4400;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(245, 165, 27, 0.45);
    color: #8a4400;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(245, 165, 27, 0.14);
}

.pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 0 4px rgba(245, 165, 27, 0.22);
}

.hero-copy h1 {
    margin-top: 22px;
    font-size: 3.6rem;
    background: linear-gradient(120deg, #1c1208, #7c3e00 60%, #c74362);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 560px;
    margin-top: 22px;
    color: var(--ink-soft);
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(120deg, var(--amber), #f08a3c);
    color: #2a1500;
    box-shadow: 0 16px 30px rgba(245, 165, 27, 0.32);
}

.btn-primary:hover {
    color: #2a1500;
    background: linear-gradient(120deg, #ffb83a, #f5994a);
}

.btn-ghost {
    background: #fff;
    color: var(--ink);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
    color: var(--ink);
    border-color: rgba(245, 165, 27, 0.55);
}

.btn-ghost-dark {
    background: rgba(255, 255, 255, 0.08);
    color: #fffaf0;
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: none;
}

.btn-ghost-dark:hover {
    color: #fffaf0;
    background: rgba(255, 255, 255, 0.16);
}

.hero-trust {
    display: grid;
    gap: 12px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.hero-trust li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-soft);
    font-weight: 600;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex: none;
}

.dot-amber { background: var(--amber); }
.dot-teal { background: var(--teal); }
.dot-rose { background: var(--rose); }

.hero-stage {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone {
    position: relative;
    width: 270px;
    border-radius: 38px;
    background: #0e1413;
    padding: 12px;
    box-shadow: var(--shadow-md);
}

.phone img {
    border-radius: 28px;
    width: 100%;
}

.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 22px;
    border-radius: 0 0 14px 14px;
    background: #0e1413;
    z-index: 2;
}

.phone-front {
    z-index: 2;
    transform: rotate(-3deg);
}

.phone-back {
    position: absolute;
    width: 240px;
    right: 4%;
    top: 8%;
    z-index: 1;
    transform: rotate(7deg);
    opacity: 0.96;
}

.watch-chip {
    position: absolute;
    left: 2%;
    bottom: 6%;
    width: 116px;
    border-radius: 26px;
    background: #0e1413;
    padding: 8px;
    box-shadow: var(--shadow-md);
    z-index: 3;
    transform: rotate(-5deg);
}

.watch-chip img {
    border-radius: 18px;
    width: 100%;
}

.value-strip {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.value-grid div {
    padding: 28px;
    background: var(--surface);
}

.value-grid strong {
    display: block;
    color: var(--ink);
    font-size: 1.05rem;
}

.value-grid span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}

.section-block,
.workflow-band,
.pricing-section,
.screens-section {
    padding: 82px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 36px;
}

.section-heading h2 {
    margin-top: 14px;
}

.section-heading p {
    margin-top: 16px;
    font-size: 1.06rem;
}

.section-heading-center {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card,
.pricing-card,
.press-asset,
.blog-card,
.version-card,
.faq-item,
.contact-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.feature-card {
    padding: 24px;
}

.feature-index,
.plan-label {
    display: inline-flex;
    color: var(--teal);
    font-weight: 900;
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-bottom: 10px;
}

.workflow-band {
    background: var(--dark);
    color: #fffaf0;
}

.workflow-grid {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    align-items: center;
    gap: 42px;
}

.workflow-copy h2,
.workflow-copy h3 {
    color: #fffaf0;
}

.workflow-copy p,
.workflow-copy li {
    color: rgba(255, 250, 240, 0.76);
}

.workflow-copy h2 {
    margin-top: 14px;
}

.workflow-copy p {
    margin-top: 16px;
}

.check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 24px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 26px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--amber);
}

.workflow-visuals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.phone-card {
    margin: 0;
}

.phone-card img {
    width: 100%;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.phone-card figcaption {
    margin-top: 12px;
    color: var(--ink-soft);
    font-weight: 800;
    text-align: center;
    font-size: 0.92rem;
}

.workflow-visuals .phone-card img {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.workflow-visuals .phone-card figcaption {
    color: rgba(255, 250, 240, 0.78);
}

.phone-card-raise {
    transform: translateY(-22px);
}

.screen-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 264px;
    gap: 22px;
    overflow-x: auto;
    padding: 8px max(20px, calc((100% - var(--max)) / 2)) 24px;
    scroll-snap-type: x mandatory;
}

.screen-rail .phone-card {
    scroll-snap-align: start;
}

.pricing-section {
    background: var(--paper-alt);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pricing-card {
    position: relative;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.pricing-featured {
    border-color: rgba(245, 165, 27, 0.9);
    box-shadow: 0 26px 60px rgba(245, 165, 27, 0.2);
    transform: translateY(-6px);
}

.plan-flag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 14px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--amber), #f08a3c);
    color: #2a1500;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(245, 165, 27, 0.32);
}

.plan-label {
    color: var(--teal);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
    margin-bottom: 10px;
}

.plan-price {
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
}

.plan-price span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
}

.plan-trial {
    color: var(--ink-soft);
    font-weight: 600;
    margin-bottom: 4px;
}

.pricing-card ul {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.pricing-card li {
    position: relative;
    padding-left: 26px;
    color: var(--ink-soft);
}

.pricing-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(14, 124, 114, 0.14);
    box-shadow: inset 0 0 0 2px var(--teal);
}

.legal-note {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.76);
}

.legal-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
    font-weight: 800;
}

.release-cta {
    padding: 72px 0;
    background:
        radial-gradient(80% 120% at 100% 0%, rgba(245, 165, 27, 0.22), transparent 55%),
        linear-gradient(130deg, #101514, #1d2826 60%, #25323f);
}

.release-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    align-items: center;
    gap: 40px;
}

.release-layout h2 {
    margin-top: 14px;
    color: #fffaf0;
}

.release-layout p {
    max-width: 640px;
    margin-top: 12px;
    color: rgba(255, 250, 240, 0.78);
}

.release-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}

.store-badge {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-height: 56px;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    color: #fffaf0;
    line-height: 1.15;
}

.store-badge-kicker {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 250, 240, 0.72);
}

.store-badge-name {
    font-size: 1.3rem;
    font-weight: 800;
}

.release-aside {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
}

.release-aside-label {
    color: rgba(255, 250, 240, 0.82) !important;
    font-weight: 700;
    margin-bottom: 14px !important;
}

.release-aside .btn {
    width: 100%;
}

.footer {
    padding: 54px 0 24px;
    background: #111716;
    color: #fffaf0;
}

.footer-grid,
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.footer-grid > :first-child,
.footer-content > :first-child {
    grid-column: span 2;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fffaf0;
    font-weight: 900;
}

.footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 7px;
}

.footer h2,
.footer h3,
.footer h4 {
    color: #fffaf0;
    font-family: inherit;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.footer p,
.footer a {
    color: rgba(255, 250, 240, 0.74);
}

.footer a:hover {
    color: #ffe1a6;
}

.footer ul {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-section {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom div {
    display: flex;
    gap: 16px;
}

.page-header,
.blog-hero,
.changelog-hero {
    padding: 86px 0 58px;
    background:
        linear-gradient(130deg, rgba(16, 21, 20, 0.95), rgba(29, 40, 38, 0.88)),
        url("../images/product/iphone-03-journal-search.jpg") center / cover;
    text-align: center;
}

.page-header h1,
.blog-hero h1,
.changelog-hero h1 {
    color: #fffaf0;
}

.page-header p,
.blog-hero p,
.changelog-hero p {
    max-width: 720px;
    margin: 14px auto 0;
    color: rgba(255, 250, 240, 0.78);
    font-size: 1.1rem;
}

.page-content {
    padding: 64px 0;
}

.page-content h2 {
    margin: 36px 0 14px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    margin: 26px 0 10px;
}

.page-content p,
.page-content li {
    color: var(--ink-soft);
}

.page-content p,
.page-content ul,
.page-content ol {
    margin-bottom: 16px;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
}

.page-content td,
.page-content th {
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    text-align: left;
}

.contact-panel {
    padding: 28px;
    margin-bottom: 34px;
    text-align: center;
}

.contact-panel h2 {
    margin-top: 0;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.faq-question::after {
    content: "+";
    color: var(--teal);
    font-size: 1.3rem;
    line-height: 1;
}

.faq-item.open .faq-question::after,
.faq-question[aria-expanded="true"]::after {
    content: "-";
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
}

.faq-item.open .faq-answer {
    display: block;
}

.press-assets,
.blog-grid,
.changelog-container {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.press-assets {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.press-asset {
    padding: 22px;
}

.press-asset img {
    max-width: 170px;
    margin: 0 auto 14px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 56px 0;
}

.blog-card {
    padding: 22px;
}

.blog-card.featured-post {
    grid-column: span 2;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 0.86rem;
    margin-bottom: 12px;
}

.blog-card h2 {
    font-family: inherit;
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.blog-card-link {
    display: inline-flex;
    margin-top: 18px;
    font-weight: 800;
}

.newsletter-section,
.subscribe-updates {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto 64px;
    padding: 30px;
    border-radius: var(--radius);
    background: var(--dark);
    text-align: center;
}

.newsletter-section h2,
.subscribe-updates h3 {
    color: #fffaf0;
}

.newsletter-section p,
.subscribe-updates p {
    margin: 10px auto 0;
    color: rgba(255, 250, 240, 0.76);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    padding: 12px;
}

.newsletter-form button,
.subscribe-btn {
    border: 0;
    border-radius: var(--radius);
    padding: 12px 16px;
    background: var(--amber);
    color: #211500;
    font-weight: 900;
    text-decoration: none;
}

.changelog-container {
    padding: 56px 0;
}

.version-timeline {
    display: grid;
    gap: 16px;
}

.version-card {
    padding: 24px;
}

.version-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
}

.version-number {
    font-size: 1.2rem;
    font-weight: 900;
}

.version-badges,
.platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.version-badge,
.change-tag,
.platform-badge {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: var(--radius);
    background: rgba(14, 124, 114, 0.1);
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 800;
}

.change-category {
    margin-top: 20px;
}

.change-list {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-layout,
    .workflow-grid,
    .release-layout {
        grid-template-columns: 1fr;
    }

    .hero-stage {
        min-height: 480px;
    }

    .feature-grid,
    .pricing-grid,
    .value-grid,
    .press-assets,
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .blog-card.featured-post {
        grid-column: span 2;
    }

    .footer-grid,
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid > :first-child,
    .footer-content > :first-child {
        grid-column: span 2;
    }
}

@media (max-width: 760px) {
    .container,
    .nav-container,
    .footer-content,
    .container-narrow,
    .press-assets,
    .blog-grid,
    .changelog-container {
        width: min(100% - 28px, var(--max));
    }

    .nav-content {
        min-height: 62px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-content .nav-links {
        display: none;
        position: absolute;
        top: 62px;
        left: 14px;
        right: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--surface);
        box-shadow: var(--shadow-md);
    }

    .nav-content .nav-links.active {
        display: flex;
    }

    .nav-content .nav-links a {
        display: block;
        padding: 12px;
    }

    .nav-container .nav-links {
        display: flex;
        position: static;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }

    .nav-container {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 0;
    }

    .hero {
        padding: 56px 0 64px;
    }

    .value-grid,
    .feature-grid,
    .pricing-grid,
    .workflow-visuals,
    .press-assets,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card.featured-post {
        grid-column: auto;
    }

    .pricing-featured,
    .phone-card-raise {
        transform: none;
    }

    .hero-stage {
        min-height: 420px;
    }

    .phone {
        width: 230px;
    }

    .phone-back {
        width: 200px;
    }

    .section-block,
    .workflow-band,
    .pricing-section,
    .screens-section {
        padding: 54px 0;
    }

    .screen-rail {
        grid-auto-columns: 258px;
    }

    .release-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid,
    .footer-content,
    .footer-bottom {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .footer-grid > :first-child,
    .footer-content > :first-child {
        grid-column: auto;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    h1 {
        font-size: 2.45rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-copy h1 {
        font-size: 2.5rem;
    }

    .hero-lead {
        font-size: 1.05rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stage {
        min-height: 380px;
    }

    .phone {
        width: 200px;
    }

    .phone-back {
        right: 0;
        width: 170px;
    }

    .watch-chip {
        width: 92px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
