/* Public homepage only. Product, billing and workspace styles remain separate. */
body[data-page="home"] { --section-gap: 58px; --green-deep: #286600; }
body[data-page="home"] :is(section[id], #solutions) { scroll-margin-top: 100px; }
body[data-page="home"] .site-header { gap: 20px; }
body[data-page="home"] .main-nav { gap: 23px; }
/* Give desktop sections and navigation the same wider, bounded canvas. */
@media (min-width: 1101px) {
  body[data-page="home"] .section-shell { width: min(1600px, calc(100% - 64px)); }
  body[data-page="home"] .site-header { padding-inline: max(32px, calc((100% - 1600px) / 2)); }
  body[data-page="home"] .hero h1 { max-width: 760px; }
  body[data-page="home"] .hero .hero-lead { max-width: 680px; }
  body[data-page="home"] .product-preview { width: 100%; max-width: 560px; justify-self: center; }
}
body[data-page="home"] .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 48px; min-height: 0; padding-block: 44px; }
body[data-page="home"] .hero h1 { overflow-wrap: anywhere; font-size: clamp(36px, 4.2vw, 55px); line-height: 1.07; letter-spacing: -.045em; text-wrap: balance; }
body[data-page="home"] .hero > * { min-width: 0; }
body[data-page="home"] .hero-lead { font-size: 16px; line-height: 1.65; max-width: 570px; }
body[data-page="home"] .hero-actions { flex-wrap: wrap; gap: 13px; margin-top: 24px; }
.play-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 16px; border: 1px solid #354038; border-radius: 12px; background: #121714; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; line-height: 1.25; }
.play-link svg { width: 22px; height: 25px; flex: 0 0 auto; }
.play-link:hover { background: #2d392f; }
.hero-discover { margin-top: 17px; font-size: 13px; color: var(--green-deep); }
body[data-page="home"] .proof-list { margin-top: 23px; gap: 17px; }
body[data-page="home"] .proof-list strong { font-size: 20px; }
body[data-page="home"] .proof-list li:nth-child(2) strong { font-size: 17px; padding-top: 3px; }
body[data-page="home"] .proof-list span { font-size: 12px; }
.product-preview { min-width: 0; }
.preview-stage { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px 16px; background: #e8eee9; border: 1px solid #d4ded5; border-radius: 28px; }
.screen-button { position: relative; display: block; flex-shrink: 0; padding: 0; border: 0; border-radius: 15px; overflow: hidden; background: #18201b; color: white; cursor: zoom-in; box-shadow: 0 14px 30px #13291c20; }
.screen-button img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; }
.screen-button:focus-visible, .play-link:focus-visible, .dialog-close:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 5px; }
.screen-zoom { position: absolute; inset-inline-end: 9px; bottom: 9px; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; border: 1px solid #c1d2c8; background: #fff; color: #245313; font-size: 21px; line-height: 1; box-shadow: 0 2px 10px #0002; }
.preview-home { width: 48%; margin-top: -14px; }
.preview-detail { width: 44%; margin-top: 32px; }
.screen-note { margin: 12px 0 0; text-align: center; font-size: 12px; color: #58625b; }
body[data-page="home"] .audience-strip { padding-block: 15px; }
body[data-page="home"] .audience-strip p { font-size: 13px; }
body[data-page="home"] :is(.examples, .modules, .pricing) { padding-block: var(--section-gap); }
body[data-page="home"] .section-heading { grid-template-columns: 1.15fr 1fr; gap: 40px; margin-bottom: 27px; align-items: end; }
body[data-page="home"] .section-heading:has(>h2) { grid-template-columns: .6fr 1.4fr; }
body[data-page="home"] :is(.section-heading h2, .cloud-intro h2, .memory-copy h2, .closing h2) { font-size: clamp(29px, 3.15vw, 40px); line-height: 1.13; letter-spacing: -.035em; text-wrap: balance; }
body[data-page="home"] .eyebrow-text { margin: 0 0 10px; font-size: 11px; letter-spacing: .095em; }
.section-intro { margin: 0; max-width: 440px; justify-self: end; color: #58625b; font-size: 15px; }
.example-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (min-width: 601px) and (max-width: 1023px) {
  .example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.example-card { min-width: 0; border: 1px solid #d9dfdc; border-radius: 20px; overflow: hidden; background: #fff; }
.example-image { display: grid; place-items: center; padding: 20px; background: #e9eeeb; }
.example-card:nth-child(2) .example-image { background: #eaf2e3; }
.example-card:nth-child(3) .example-image { background: #e8edf1; }
.example-image .screen-button { width: min(100%, 195px); }
.example-caption { padding: 18px 20px; overflow-wrap: anywhere; }
.example-caption .eyebrow-text { display: block; margin-bottom: 7px; }
.example-caption h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.28; letter-spacing: -.02em; }
body[data-page="home"] .modules { border-top: 1px solid var(--line); }
.field-method { padding-block: 18px var(--section-gap); }
body[data-page="home"] .field-method .section-heading { display: block; max-width: 820px; }
.field-method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-method-grid > article { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.field-method-grid h3 { margin: 10px 0 9px; font-size: 21px; line-height: 1.3; }
.field-method-grid p { margin: 0; font-size: 15px; line-height: 1.65; }
.field-method-step { color: var(--green-deep); font-size: 12px; font-weight: 700; }
.field-method-example { grid-column: 1 / -1; padding: 24px; border-radius: 17px; background: #eaf1ed; }
.field-method-example .eyebrow-text { font-size: 11px; }
@media (max-width: 680px) { .field-method-grid { grid-template-columns: minmax(0, 1fr); } .field-method-grid > article, .field-method-example { padding: 20px; } }
body[data-page="home"] .module-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
body[data-page="home"] .module-card { grid-column: span 3; min-height: 0; padding: 20px; border-radius: 17px; }
body[data-page="home"] .module-card:nth-child(-n+3) { grid-column: span 4; }
body[data-page="home"] .module-icon { width: 38px; height: 38px; border-radius: 11px; }
body[data-page="home"] .module-icon svg { width: 25px; height: 25px; }
body[data-page="home"] .module-code { display: none; }
body[data-page="home"] .module-card h3 { font-size: 19px; margin: 15px 0 7px; line-height: 1.25; }
body[data-page="home"] .module-card p { font-size: 13px; line-height: 1.55; }
.solution-links { margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--line); }
.solution-links > .eyebrow-text { display: block; }
.solution-links > .solution-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.solution-links a { min-width: 0; color: #3d5c33; text-align: start; text-decoration: none; overflow-wrap: anywhere; }
.solution-link-title { display: block; font-size: 15px; font-weight: 700; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; }
.solution-link-description { display: block; margin-block-start: 7px; color: #58615b; font-size: 14px; line-height: 1.65; }
.solution-links .all-solutions { grid-column: 1 / -1; justify-self: start; font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 800px) { .solution-links > .solution-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .solution-links > .solution-link-grid { grid-template-columns: minmax(0, 1fr); } }
body[data-page="home"] .collective-memory { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; padding-block: 35px; border-top: 1px solid var(--line); }
body[data-page="home"] .memory-copy { min-width: 0; }
body[data-page="home"] .memory-copy h2 { margin: 12px 0 16px; font-size: 32px; }
body[data-page="home"] .memory-copy > p:not(.eyebrow-text) { font-size: 14px; }
body[data-page="home"] .memory-privacy { margin: 18px 0 0; padding: 12px; }
body[data-page="home"] .memory-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto minmax(150px, auto) auto; gap: 12px; width: 100%; max-width: 560px; min-width: 0; min-height: 320px; justify-self: end; padding: 18px; border-radius: 24px; box-shadow: 0 12px 32px #182b1e0d; }
body[data-page="home"] .memory-board::before, body[data-page="home"] .memory-board::after { content: none; }
.memory-connections { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #a6bda9; }
.memory-connections path { stroke-width: 1.25; vector-effect: non-scaling-stroke; }
body[data-page="home"] .memory-core { position: relative; inset: auto; grid-column: 1 / -1; grid-row: 2; justify-self: center; width: 172px; max-width: 100%; height: auto; min-height: 150px; padding: 12px; border-radius: 20px; transform: none; }
body[data-page="home"] .memory-core img { width: 64px; height: 64px; }
body[data-page="home"] .memory-core strong { font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
body[data-page="home"] .memory-core small { margin-top: 4px; line-height: 1.35; }
body[data-page="home"] .memory-node { position: relative; inset: auto; min-width: 0; max-width: 100%; gap: 8px; padding: 10px; }
body[data-page="home"] .memory-node span { width: 28px; height: 28px; flex: 0 0 auto; }
body[data-page="home"] .memory-node strong { font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }
body[data-page="home"] .node-one { grid-column: 1; grid-row: 1; justify-self: start; }
body[data-page="home"] .node-two { grid-column: 2; grid-row: 1; justify-self: end; }
body[data-page="home"] .node-three { grid-column: 1; grid-row: 3; justify-self: start; }
body[data-page="home"] .node-four { grid-column: 2; grid-row: 3; justify-self: end; }
body[data-page="home"] .cloud { grid-template-columns: 1fr 1fr; gap: 55px; padding-block: var(--section-gap); }
body[data-page="home"] .cloud-intro h2 { margin-top: 12px; }
body[data-page="home"] .cloud-intro > p:not(.eyebrow-text) { font-size: 15px; }
body[data-page="home"] .cloud-principles { margin-top: 20px; }
body[data-page="home"] .cloud-principles > div { padding-block: 12px; }
.sync-preview { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 25px; align-items: center; padding: 23px; border: 1px solid #cedacd; border-radius: 24px; background: #eaf1e5; }
.sync-preview .screen-button { width: 100%; }
.sync-label { min-width: 0; }
.sync-symbol { display: block; font-size: 38px; line-height: 1; color: var(--green-deep); margin-bottom: 15px; }
.sync-label strong { font-size: 20px; line-height: 1.25; }
.sync-label p { font-size: 13px; color: #4d5e47; }
.sync-label .play-link { padding: 10px; font-size: 11px; }
body[data-page="home"] .pricing .section-heading { margin-bottom: 20px; }
body[data-page="home"] .pricing-note span { color: #58615b; }
body[data-page="home"] .pricing-lead { margin: 0; max-width: 900px; font-size: 15px; }
.credit-explanation { margin: 12px 0 26px; max-width: 900px; font-size: 13px; color: #58625b; }
body[data-page="home"] .price-card { padding: 25px; min-height: 0; }
body[data-page="home"] .price-card-head { gap: 0; }
body[data-page="home"] .price-card-head h3 { font-size: 25px; }
body[data-page="home"] .plan-price { margin-top: 23px; }
body[data-page="home"] .plan-price strong { font-size: 39px; }
body[data-page="home"] .price-card ul { margin-block: 20px 23px; gap: 8px; padding-top: 17px; }
body[data-page="home"] .language-band { padding-block: 35px; }
body[data-page="home"] .language-inner { gap: 40px; grid-template-columns: .85fr 1.15fr; }
body[data-page="home"] .language-inner h2 { font-size: 27px; line-height: 1.15; }
body[data-page="home"] .language-list { display: flex; flex-wrap: wrap; gap: 10px 18px; }
body[data-page="home"] .language-list a { display: inline-flex; align-items: center; min-height: 32px; border: 0; padding: 4px 0; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
body[data-page="home"] .language-list a[aria-current="page"] { font-weight: 800; }
body[data-page="home"] .language-list a:focus-visible { outline: 3px solid #578f31; outline-offset: 3px; }
body[data-page="home"] .closing { padding-block: 44px; gap: 30px; align-items: center; }
body[data-page="home"] .closing p { margin-bottom: 0; font-size: 15px; }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: end; }
.account-panel, .screenshot-dialog { border: 1px solid #c5ceca; padding: 0; color: var(--ink); background: #fff; box-shadow: 0 30px 100px #0004; }
dialog::backdrop { background: #102015b8; backdrop-filter: blur(4px); }
.account-panel { width: min(94vw, 480px); max-height: 90dvh; border-radius: 24px; overflow: auto; }
.account-panel .auth-card { width: 100%; padding: 42px 26px 26px; box-shadow: none; border: 0; border-radius: 0; }
.dialog-close { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #d5ddd7; border-radius: 50%; background: #fff; color: #172d1b; font-size: 26px; line-height: 1; cursor: pointer; }
.account-panel > .dialog-close { position: absolute; inset-inline-end: 12px; top: 10px; z-index: 4; }
.screenshot-dialog { width: min(94vw, 690px); max-height: 94dvh; border-radius: 18px; overflow: auto; }
.screenshot-dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #dce3dd; }
.screenshot-dialog-head h2 { margin: 0; font-size: 16px; line-height: 1.35; }
.screenshot-dialog .dialog-close { flex: 0 0 auto; }
.screenshot-dialog > img { display: block; width: 100%; height: auto; }
html.landing-dialog-open { overflow: hidden; }
@media (max-width: 1100px) {
  body[data-page="home"] .site-header { grid-template-columns: 1fr auto; }
  body[data-page="home"] .main-nav { display: none; }
  .sync-preview { grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 18px; }
}
@media (max-width: 800px) {
  body[data-page="home"] .hero { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .product-preview { width: min(100%, 470px); justify-self: center; }
  body[data-page="home"] :is(.section-heading, .section-heading:has(>h2), .cloud, .language-inner) { grid-template-columns: 1fr; gap: 20px; }
  .section-intro { justify-self: start; }
  body[data-page="home"] .module-card, body[data-page="home"] .module-card:nth-child(-n+3) { grid-column: span 6; }
  body[data-page="home"] .module-card:last-child { grid-column: 1 / -1; }
  body[data-page="home"] .collective-memory { grid-template-columns: 1fr; gap: 24px; }
  body[data-page="home"] .memory-board { justify-self: center; }
  .sync-preview { grid-template-columns: 160px 1fr; width: min(100%, 500px); justify-self: center; }
  body[data-page="home"] .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body[data-page="home"] .price-card { padding: 20px 15px; }
  body[data-page="home"] .plan-badge { position: static; align-self: start; margin-bottom: 12px; }
  .closing-actions { justify-content: start; }
}
@media (max-width: 600px) {
  body[data-page="home"] { --section-gap: 38px; }
  body[data-page="home"] .hero { padding-block: 30px; }
  body[data-page="home"] .header-actions .button { display: inline-flex; font-size: 12px; padding: 10px 12px; max-width: 148px; text-align: center; }
  body[data-page="home"] .hero h1 { font-size: clamp(32px, 8.8vw, 43px); }
  body[data-page="home"] .hero .eyebrow { font-size: 10px; letter-spacing: .07em; }
  body[data-page="home"] .hero-actions { flex-direction: row; align-items: center; }
  body[data-page="home"] .hero-actions .button { padding: 14px 18px; font-size: 14px; }
  .hero-actions .play-link { font-size: 12px; }
  body[data-page="home"] .proof-list { grid-template-columns: .8fr 1.25fr .8fr; gap: 12px; }
  body[data-page="home"] .proof-list li:nth-child(2) strong { font-size: 15px; }
  .preview-stage { border-radius: 20px; padding: 16px 12px; gap: 12px; }
  .example-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 12px; }
  .example-card { flex: 0 0 79%; scroll-snap-align: start; }
  .example-image { padding: 16px; }
  .example-image .screen-button { width: min(100%, 175px); }
  .example-caption { padding: 15px; }
  .example-caption h3 { font-size: 18px; }
  body[data-page="home"] .module-card, body[data-page="home"] .module-card:nth-child(-n+3) { grid-column: 1 / -1; display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; padding: 17px; }
  body[data-page="home"] .module-icon { grid-row: 1 / 3; }
  body[data-page="home"] .module-card h3 { margin: 0 0 5px; font-size: 18px; }
  body[data-page="home"] .module-card p { grid-column: 2; }
  body[data-page="home"] .memory-copy h2 { font-size: 28px; margin-block: 12px; }
  body[data-page="home"] .memory-privacy { margin-top: 16px; }
  body[data-page="home"] .memory-board { padding: 12px; gap: 10px; border-radius: 20px; }
  .sync-preview { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 15px; padding: 17px; }
  .sync-label strong { font-size: 18px; }
  .sync-label .play-link { font-size: 10px; gap: 6px; padding: 9px; }
  body[data-page="home"] .pricing-grid { grid-template-columns: 1fr; gap: 14px; }
  body[data-page="home"] .price-card { padding: 22px; }
  body[data-page="home"] .price-card > p:not(.plan-price) { min-height: 0; }
  body[data-page="home"] .plan-badge { position: absolute; inset-inline-end: 20px; top: 20px; margin: 0; }
  body[data-page="home"] .pricing-note { grid-template-columns: 1fr; gap: 7px; }
  body[data-page="home"] .closing { flex-direction: column; align-items: start; padding-block: 35px; }
  body[data-page="home"] .site-footer { display: flex; flex-direction: column; align-items: start; gap: 18px; padding-block: 27px; }
  body[data-page="home"] .site-footer > div:last-child { flex-wrap: wrap; gap: 12px 18px; }
  .account-panel .auth-card { padding-inline: 20px; }
}
@media (min-width: 601px) and (max-width: 680px) {
  body[data-page="home"] .header-actions .button { display: inline-flex; }
}
@media (max-width: 420px) {
  body[data-page="home"] .brand img { width: 32px; height: 32px; }
  body[data-page="home"] .site-header .brand small { display: none; }
  body[data-page="home"] .site-header .brand { gap: 7px; }
  body[data-page="home"] .site-header { padding-inline: 12px; gap: 7px; }
  body[data-page="home"] .language-control select { min-width: 50px; padding-inline: 7px; max-width: 68px; }
  body[data-page="home"] .header-actions { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body[data-page="home"] * { transition: none !important; }
}

/* Compact horizontal language grid, with native-language labels. */
.language-menu { position: relative; flex-shrink: 0; }
.language-menu summary { display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none; border: 1px solid var(--line-dark); border-radius: 999px; background: var(--white); padding: 10px 13px; font-weight: 800; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after { content: "⌄"; }
.language-menu summary:focus-visible, .language-options button:focus-visible { outline: 3px solid #578f31; outline-offset: 3px; }
.language-options { position: absolute; inset-inline-end: 0; top: calc(100% + 12px); z-index: 100; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; width: 570px; max-width: calc(100vw - 24px); padding: 14px; border: 1px solid #dce3d7; border-radius: 18px; background: #fff; box-shadow: 0 14px 42px #18301326; }
.language-options button { min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 9px; border: 1px solid transparent; border-radius: 10px; background: #f5f7f2; color: #192318; font: inherit; font-size: 14px; text-align: start; cursor: pointer; }
.language-options button:hover { background: #eaf1e3; }
.language-options button[aria-pressed="true"] { border-color: #578f31; background: #eaf3e2; font-weight: 750; }
.language-flag { flex: 0 0 auto; font-size: 22px; }
.language-options button > span:not(.language-flag) { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 680px) {
  .language-options { position: fixed; top: 76px; left: 12px; right: 12px; width: auto; max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 10px; gap: 6px; max-height: calc(100dvh - 100px); overflow-y: auto; }
  .language-options button { font-size: 12px; padding: 8px 5px; gap: 5px; }
  .language-menu summary { padding: 8px; gap: 5px; }
}

/* Account access: separate Google from the tabs and keep legal copy after both choices. */
.account-panel .auth-heading { margin-top:18px; }
.account-panel .auth-tabs { margin-top:18px; }
.account-panel .google-auth:not([hidden]) + .auth-form { margin-top:14px; }
.account-panel [data-signup-terms] { margin:14px 0 0; line-height:1.5; }
.account-panel .auth-form-row { align-items:flex-start; }
.account-panel [data-signin-extras] .link-button { flex:0 0 auto; max-width:55%; text-align:end; }
@media (max-width:540px) {
  .account-panel .auth-heading { margin-top:14px; }
  .account-panel .auth-heading h2 { font-size:27px; }
  .account-panel .auth-heading p { font-size:14px; line-height:1.45; }
  .account-panel .auth-tabs { margin-top:16px; }
  .account-panel .auth-form { gap:13px; }
  .account-panel .auth-badge { max-width:100%; line-height:1.35; }
  .account-panel .auth-badge i { flex:0 0 7px; }
}

/* Preserve room for joined glyphs after the more-specific home heading styles. */
html:is(:lang(ta), :lang(bn)) body[data-page="home"] :is(h1, h2, h3, .eyebrow, .button) { line-height: 1.4; letter-spacing: normal; }

/* Product introduction stays public; account access opens on request. */
body[data-page="home"] .hero { grid-template-columns: minmax(0, 1fr); align-items: center; }
.account-panel { width: min(94vw, 480px); min-width: 0; max-height: 90dvh; overflow: auto; border-radius: 24px; overscroll-behavior: contain; }
.account-dialog-head { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); font-weight: 700; }
.account-dialog-head .dialog-close { flex: 0 0 auto; }
.account-panel .auth-card { padding: 26px; border-radius: inherit; }
.account-panel .auth-dialog-content { border-radius: inherit; }
.account-panel:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 5px; }
.product-tour { padding-block: 24px 44px; }
.product-tour > h2 { margin: 0 0 22px; font-size: 28px; line-height: 1.2; }
.tour-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tour-item { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 26px; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.tour-image .screen-button { width: 180px; margin: 0; }
.tour-caption { min-width: 0; overflow-wrap: anywhere; }
.tour-caption h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.25; }
.tour-caption p { margin: 0; color: #58625b; font-size: 15px; line-height: 1.65; }
@media (max-width: 1100px) {
  .tour-item { gap: 20px; padding: 20px; }
  .tour-image .screen-button { width: 140px; }
}
@media (max-width: 900px) {
  body[data-page="home"] .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tour-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .account-panel .auth-card { padding: 22px 18px; }
  .tour-item { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tour-image { justify-self: center; }
  .tour-image .screen-button { width: 160px; }
}
