:root {
  color-scheme: light;
  --ink: #0e3030;
  --accent: #ad431f;
  --accent-hover: #903517;
  --paper: #f9f1e8;
  --card: #f6eadd;
  --icon-background: #f6d3b5;
  --line: #e4d4c7;
  --display: Georgia, 'Times New Roman', serif;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:where(a, button, input):focus-visible { outline: 3px solid #326665; outline-offset: 4px; }
.wrap { width: min(100% - clamp(32px, 7.5vw, 120px), 1600px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; left: 1rem; top: -6rem; padding: 1rem; background: white; }
.skip:focus { top: 1rem; }
.bar { min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 12px; }
.brand { position: relative; display: block; flex: 0 1 auto; width: clamp(132px, 23vw, 315px); min-width: 115px; aspect-ratio: 4.35; overflow: hidden; }
.brand img { position: absolute; width: 125%; height: auto; max-width: none; left: -13%; top: 50%; transform: translateY(-50%); mix-blend-mode: darken; }
.account-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.account-actions form { display: flex; }
.account-actions :is(.button, .outline) { font-family: inherit; line-height: 1.25; }
.account-actions button.outline { background: transparent; color: inherit; cursor: pointer; }
.account-actions button.outline:hover { background: #ecdfd2; }
.button, .outline { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 18px; padding: .65rem clamp(.8rem, 2.4vw, 2.3rem); font-size: clamp(1rem, 1.5vw, 1.4rem); font-weight: 700; text-decoration: none; }
.button { background: var(--accent); color: #fffaf5; border: 2px solid var(--accent); }
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.outline { border: 2px solid var(--ink); }
.outline:hover { background: #ecdfd2; }
.hero { position: relative; isolation: isolate; min-height: clamp(470px, 38vw, 660px); display: grid; align-items: center; overflow: hidden; background: #f6ebdf; }
.hero-image { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 25%; }
.hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #f9f1e9 0%, #f9f1e9f5 15%, #f9f1e9ba 31%, #f9f1e918 52%, transparent 65%); }
.hero-content { padding-block: clamp(36px, 4.5vw, 76px); }
.hero-offer { position: absolute; z-index: 1; top: 5%; left: 43%; display: block; width: clamp(120px, 16vw, 265px); border-radius: 40%; transition: transform .18s ease; }
.hero-offer img { display: block; width: 100%; height: auto; }
.hero-cancel { position: absolute; z-index: 1; top: 19%; right: 6%; display: flex; align-items: center; gap: .5em;
  padding: .65em .85em; border: 2px solid #fff2dc; outline: 2px solid #942f17; border-radius: 18px;
  background: #942f17; color: #fff2dc; box-shadow: 0 4px 9px #35170755; text-decoration: none;
  font-size: clamp(.88rem, 1.5vw, 1.45rem); font-weight: 800; line-height: 1.05; transform: rotate(-7deg); }
.hero-cancel .reminder-icon { flex-shrink: 0; }
.hero-sample { position: absolute; z-index: 1; top: 50%; left: 47%; display: inline-grid; place-content: center; justify-items: center; gap: .4rem;
  inline-size: clamp(110px, 13vw, 190px); aspect-ratio: 3 / 2; padding: .45rem; border: 0; border-radius: 21% / 29%;
  background: #123c29 url('/udo-hoerprobe-schild.png') center / 100% 100% no-repeat; color: #fff2dc; box-shadow: 0 4px 9px #15242055;
  font: 800 clamp(.75rem, 1.1vw, 1rem)/1.1 system-ui, sans-serif; cursor: pointer; }
.hero-sample:hover { filter: brightness(1.1); }
.hero-sample:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.hero-sample-symbol { width: clamp(20px, 2.5vw, 36px); aspect-ratio: 1; background: currentColor; clip-path: polygon(14% 0, 100% 50%, 14% 100%); }
.hero-sample.is-playing .hero-sample-symbol { clip-path: inset(8%); }
.hero-cancel:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) { .hero-offer:hover { transform: scale(1.035); } }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.045em; }
h1 { font-size: clamp(3.45rem, 6.25vw, 7rem); line-height: .99; }
.hero-button { margin-top: 32px; border-radius: 100px; font-size: clamp(1.15rem, 2vw, 2rem); padding: .55em 1.65em; }
.functions { padding-block: clamp(30px, 2.6vw, 52px) clamp(24px, 3.3vw, 60px); }
h2 { font-size: clamp(2.4rem, 4.4vw, 4.8rem); line-height: 1.02; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 20px); margin-top: clamp(18px, 2vw, 32px); }
.grid article { display: flex; gap: clamp(12px, 1.8vw, 30px); align-items: center; border-radius: 24px; background: var(--card); padding: clamp(16px, 1.55vw, 28px); min-height: 120px; }
.grid h3 { font-size: clamp(1.05rem, 1.5vw, 1.55rem); line-height: 1.16; letter-spacing: -.025em; }
.feature-info { position: relative; display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; margin-inline-start: auto; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font: 700 1rem/1 var(--display); cursor: pointer; }
.feature-info::before { content: ''; position: absolute; inset: 10px; border: 1px solid currentColor; border-radius: 50%; }
.feature-info:hover { background: var(--icon-background); }
.grid article:has(.feature-info) { column-gap: clamp(8px, 1vw, 18px); cursor: pointer; }
.grid article:has(.feature-info) h3 { overflow-wrap: anywhere; }
.feature-bubble.comic-validation-bubble.emote-notice:popover-open { inset: auto; margin: 0; width: min(300px, calc(100vw - 24px)); min-height: 108px; padding: 30px 40px; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .feature-bubble:popover-open { animation: emote-cloud-enter .9s both; }
}
.feature-icon { display: grid; place-items: center; flex: 0 0 auto; width: clamp(48px, 4.4vw, 70px); aspect-ratio: 1; border-radius: 50%; background: var(--icon-background); font-size: clamp(24px, 2.6vw, 42px); line-height: 1; }
.message-icon, .microphone-icon { position: relative; display: inline-block; color: var(--ink); }
.message-icon { width: .92em; height: .66em; border: .09em solid; border-radius: .2em; }
.message-icon::before { content: ''; position: absolute; left: .1em; bottom: -.2em; width: .19em; height: .18em; border-left: .08em solid; transform: skew(-18deg); }
.message-icon::after { content: ''; position: absolute; inset: .13em .14em auto; border-top: .075em solid; border-radius: .1em; box-shadow: 0 .15em 0 currentColor; }
.microphone-icon {
  width: .66em;
  height: .94em;
  background: linear-gradient(currentColor, currentColor) center bottom / .44em .075em no-repeat,
              linear-gradient(currentColor, currentColor) center bottom / .075em .25em no-repeat;
}
.microphone-icon::before, .microphone-icon::after { content: ''; position: absolute; left: 50%; box-sizing: border-box; transform: translateX(-50%); }
.microphone-icon::before { top: 0; width: .33em; height: .57em; border-radius: .2em; background: currentColor; }
.microphone-icon::after { top: .24em; width: 100%; height: .49em; border: .075em solid currentColor; border-top: 0; border-radius: 0 0 .35em .35em; }
.reminder-icon, .clock-icon { position: relative; display: block; width: .82em; height: .82em; border: .08em solid; }
.reminder-icon { border-radius: .12em; }
.reminder-icon::after { content: ''; position: absolute; top: .16em; left: .17em; width: .26em; height: .14em; border: solid; border-width: 0 0 .08em .08em; transform: rotate(-45deg); }
.clock-icon { border-radius: 50%; }
.clock-icon::after { content: ''; position: absolute; top: .13em; left: .28em; width: .19em; height: .22em; border: solid; border-width: 0 0 .07em .07em; border-radius: .03em; }
.pill-icon { display: block; width: 1em; height: .49em; border: .08em solid; border-radius: 1em; background: linear-gradient(90deg, currentColor 50%, transparent 50%); transform: rotate(-40deg); }
.memory-icon { width: .84em; height: .9em; border: .08em solid; border-radius: .13em; background: linear-gradient(currentColor, currentColor) 29% 0 / .07em 100% no-repeat; }
.person-icon { position: relative; width: .85em; height: .4em; margin-top: .42em; border: .08em solid; border-radius: .45em .45em .14em .14em; }
.person-icon::before { content: ''; position: absolute; width: .33em; height: .33em; left: 50%; bottom: calc(100% + .07em); border: .08em solid; border-radius: 50%; transform: translateX(-50%); }
.emergency-icon { display: grid; place-items: center; width: 1.35em; aspect-ratio: 1; border: .11em solid; border-radius: 50%; font-size: .66em; font-weight: 750; }
.family-icon { display: flex; gap: .12em; font-size: .72em; }
.album-icon { position: relative; width: 1em; height: .75em; border: .075em solid; border-radius: .12em; overflow: hidden; }
.album-icon::before { content: ''; position: absolute; top: .09em; right: .1em; width: .14em; aspect-ratio: 1; border-radius: 50%; background: currentColor; }
.album-icon::after { content: ''; position: absolute; left: .13em; bottom: -.22em; width: .53em; aspect-ratio: 1; border: .075em solid; border-radius: .06em; transform: rotate(45deg); }
.family { padding-block: 28px 54px; text-align: center; }
.family p { max-width: 68ch; margin-inline: auto; margin-top: 14px; font-size: 1.12rem; line-height: 1.6; }
.family h3 { margin-top: 28px; font-size: 1.35rem; }
.family .rental-price { margin-top: 22px; }
.rental-price strong { font-size: 1.45rem; }
footer { border-top: 1px solid var(--line); padding-block: 24px; }
.footer-bar, .footer-bar nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-bar { justify-content: space-between; align-items: baseline; }
.legal { max-width: 76ch; padding-block: 40px; overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
.legal h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.legal section { margin-top: 36px; scroll-margin-top: 24px; }
.legal p { margin-top: 12px; }
.legal-providers { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.legal-providers address { font-style: normal; }
.account { max-width: 540px; padding-block: 56px; }
.account h1 { font-size: clamp(2rem, 7vw, 3rem); margin-bottom: 20px; }
.account form { display: grid; gap: 16px; margin-block: 22px; }
.account label { display: grid; gap: 6px; font-weight: 600; }
.account input { width: 100%; padding: 12px; border: 1px solid #948b81; border-radius: 8px; font: inherit; }
.account button { cursor: pointer; }
.family-area { --family-gap: 16px; --family-section-gap: 24px; }
.family-area .account form { gap: var(--family-gap); }
.family-area :is(.checkout-fields, .checkout-summary, .checkout-buttons, .album-list, #planner-list) { gap: var(--family-gap); }
.family-area .planner-page > .outline { margin-bottom: var(--family-gap); }
.family-area .planner-overview { margin-top: var(--family-section-gap); }
.account-error { padding: 12px; background: #fff2ef; color: #872c21; border-radius: 5px; }
.account-help { line-height: 1.55; }
.account:has(.shop-product) p, .account:has(address) p { margin-block: 12px; }
.shop-product { display: block; width: 100%; border-radius: 18px; }
.rental-checkout { max-width: 720px; }
.checkout-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(142px, 1fr)); gap: 8px; list-style: none; margin: 0 0 24px; padding: 0; }
.checkout-steps li { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 12px; background: var(--card); font-size: .9rem; }
.checkout-steps span { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 50%; background: var(--icon-background); color: var(--ink); }
.checkout-steps [aria-current="step"] { background: var(--ink); color: white; font-weight: 700; }
.checkout-steps .checkout-step-link { padding: 0; }
.checkout-step-link :is(a, button) { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 100%; padding: 8px; border: 0; border-radius: inherit; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: underline; cursor: pointer; }
.checkout-step-link :is(a, button):hover { background: #ecdfd2; }
.checkout-card { padding: clamp(16px, 4vw, 28px); border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
.checkout-fields, .checkout-summary { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.checkout-card input { border-color: var(--line); border-radius: 12px; background: #fffaf5; color: var(--ink); }
.planner-page { max-width: 850px; }
.planner-page > .outline { margin-bottom: 14px; }
.planner-page [hidden] { display: none; }
.planner-page h2 { font-size: clamp(1.2rem, 3vw, 1.65rem); }
.planner-page h3 { font-size: 1.15rem; overflow-wrap: anywhere; }
.planner-page .account-help { margin-bottom: 18px; }
.planner-page .outline { font: inherit; font-weight: 700; background: transparent; color: var(--ink); }
.planner-page .outline:hover { background: var(--paper); }
.planner-month { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: center; }
.planner-month button { padding-inline: 12px; }
.planner-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(3px, 1vw, 8px); text-align: center; margin-top: 12px; }
.planner-days button { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 10px; min-height: 44px; }
.planner-days button[aria-current="date"] { border-color: var(--ink); }
.planner-days button[aria-pressed="true"] { background: var(--ink); color: white; }
.planner-has-events::after { content: ""; position: absolute; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.planner-overview { margin-top: 24px; }
#planner-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
#planner-list p { margin: 6px 0; overflow-wrap: anywhere; white-space: pre-wrap; }
#planner-list .checkout-buttons { margin-top: 12px; }
.planner-wide { grid-column: 1 / -1; }
.planner-page fieldset { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.planner-page :is(select, textarea) { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf5; color: var(--ink); font: inherit; }
.planner-page textarea { min-height: 76px; resize: vertical; }
.album-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.album-list img { display: block; width: 100%; height: 180px; object-fit: contain; }
.album-list p { margin-block: 8px; overflow-wrap: anywhere; }
.checkout-summary section { padding: 14px; border-radius: 12px; background: var(--paper); overflow-wrap: anywhere; }
.checkout-summary h2 { margin-bottom: 8px; font-size: 1rem; }
.checkout-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.checkout-buttons button { font-family: inherit; line-height: 1.25; }
.checkout-buttons button.outline { color: var(--ink); background: transparent; }
.checkout-buttons button.outline:hover { background: var(--paper); }
.family-profile { max-width: 850px; }
.family-profile form[hidden] { display: none; }
.family-profile > h1 { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.family-profile section h2 { margin-bottom: 14px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
.family-profile label { margin-block: 8px; }
.family-profile label[hidden] { display: none; }
.family-profile :is(select, textarea) { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fffaf5; color: var(--ink); font: inherit; }
.family-profile textarea { min-height: 85px; resize: vertical; }
.family-profile fieldset { min-width: 0; margin-block: 14px; border: 1px solid var(--line); border-radius: 12px; }
.family-profile .profile-check { display: flex; align-items: center; gap: 8px; }
.profile-check input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--ink); }
.family-profile button.outline { font-family: inherit; background: transparent; color: var(--ink); }
.family-profile .profile-contact { margin-block: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.profile-contact > summary { cursor: pointer; font-weight: 700; }
.profile-contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--family-gap, 16px); margin-top: var(--family-gap, 16px); }
.family-area .family-profile .profile-contact { margin-block: var(--family-gap); padding: var(--family-gap); background: #edded0; }
.family-area .profile-contact .profile-pet { background: #e6d5c5; }
.family-area .profile-pet > .profile-remove-pet { margin-top: var(--family-gap); }
.family-area #profil-person > .profile-add-pet { margin-top: var(--family-gap); }
.family-area .family-profile .checkout-fields > label { margin-block: 4px; }
.family-area :is(button, .button, .outline) { min-height: 36px; padding: .4rem .85rem; border-radius: 10px; font-size: 1rem; }
#profile-contacts > .profile-contact { position: relative; }
#profile-contacts > .profile-contact[open] > summary { min-height: 36px; margin-inline-end: 21rem; }
.profile-contact-controls { position: absolute; inset-block-start: 8px; inset-inline-end: 12px; display: flex; align-items: center; gap: 12px; }
.profile-contact-controls > .profile-check { margin: 0; }
#profile-contacts > [data-owner] > .profile-contact-controls { display: none; }
#profile-contacts > [data-owner][open] > summary { margin-inline-end: 0; }
#profile-contacts .profile-remove { background: #a5212a; border-color: #a5212a; color: #fff; }
#profile-contacts .profile-remove:hover { background: #831822; border-color: #831822; color: #fff; }
@media (max-width: 650px) {
  #profile-contacts > .profile-contact[open] > summary { margin-inline-end: 0; }
  .profile-contact-controls { position: static; flex-wrap: wrap; margin-bottom: 8px; }
}
.profile-contact-save { margin-inline-start: auto; }
.profile-contact-save[hidden], .profile-contact-status:empty { display: none; }
#profile-contacts :is(.profile-remove[hidden], .profile-assign-owner[hidden]),
#profile-contacts:has(> [data-owner="saved"]) .profile-assign-owner { display: none; }
.profile-interest { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.profile-interest button, #profile-add-interest { min-height: 36px; padding: .3rem .7rem; border-radius: 10px; font-size: .9rem; }
.profile-interest input { min-width: 0; }
.profile-interest select { width: clamp(145px, 30%, 220px); flex-shrink: 0; }
@media (max-width: 560px) {
  .profile-interest { flex-wrap: wrap; }
  .profile-interest select { width: auto; max-width: 100%; }
}
.shop-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr)); gap: 12px; padding: 0; margin: 16px 0; list-style: none; }
.shop-benefits li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--card); }
.shop-benefit-icon { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--icon-background); color: var(--ink); }
.shop-calendar { display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid currentColor; border-top-width: 6px; border-radius: 4px; font-weight: 700; line-height: 1; }
.shop-coin { display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid currentColor; border-radius: 50%; font-size: .75rem; font-weight: 700; }
.family-dashboard { max-width: 1100px; }
.family-dashboard > h1 { font-size: clamp(2.4rem, 4.4vw, 4.8rem); line-height: 1.02; margin-bottom: 8px; }
.family-dashboard h2 { margin-bottom: 8px; }
.phone-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 220px)); gap: 20px; list-style: none; margin: 24px 0 0; padding: 0; }
.phone-card { display: flex; min-height: 240px; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px 12px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); text-align: center; overflow-wrap: anywhere; }
.phone-symbol { display: grid; place-items: center; width: 60px; height: 98px; border: 3px solid currentColor; border-radius: 12px; font-size: 2.4rem; }
.phone-preview { display: block; width: 100%; height: auto; aspect-ratio: 6 / 13; overflow: hidden; border: 2px solid #423b36; border-radius: 22px; background: linear-gradient(#fff5cf, #d4eaf7); }
.phone-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.phone-nickname { margin-top: 8px; text-align: center; font-weight: 700; overflow-wrap: anywhere; }
.device-page { max-width: 1450px; }
.device-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.device-page .device-heading h1 { margin-bottom: 0; }
.device-heading { justify-content: flex-start; column-gap: clamp(12px, 3vw, 44px); }
.device-abo { margin-inline-start: auto; }
.device-usage { display: grid; grid-template-columns: repeat(2, auto); gap: 2px 12px; text-align: center; font-size: .8rem; }
.device-usage > div { display: grid; justify-items: center; gap: 2px; }
.device-usage small { grid-column: 1 / -1; }
.usage-ring { display: grid; place-items: center; width: 3.4rem; aspect-ratio: 1; border-radius: 50%; font-weight: 700;
  background: radial-gradient(closest-side, #f7efe6 76%, transparent 77%), conic-gradient(#a64421 var(--fill), #e6d6c7 0); }
.usage-tokens { --fill: 35%; }
.usage-mobile { --fill: 60%; }
.device-page h1 { font-family: var(--display); font-size: clamp(3rem, 6vw, 5.6rem); margin-bottom: 28px; }
.device-dashboard { display: grid; grid-template-columns: minmax(205px, 1fr) minmax(0, 3fr); align-items: start; gap: clamp(24px, 3vw, 44px); }
.device-frame { min-width: 0; margin: 0; padding: 42px 15px 52px; position: relative; border-radius: 42px; background: var(--ink); }
.device-frame::before, .device-frame::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); border-radius: 20px; }
.device-frame::before { top: 17px; width: 58px; height: 6px; background: var(--paper); }
.device-frame::after { bottom: 15px; width: 54px; height: 22px; border: 2px solid var(--paper); }
.device-screen { overflow: hidden; border-radius: 24px; background: var(--paper); text-align: center; }
.device-screen strong { display: block; padding-top: 12px; font: 700 clamp(1.8rem, 4vw, 3.6rem)/1 var(--display); }
.device-screen img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.device-status { padding: 14px 4px; font-weight: 600; }
.device-portrait { width: min(100%, 220px); text-align: center; }
.device-status p + p { margin-top: 4px; font-size: .85em; font-weight: 400; }
.device-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.device-tile { display: flex; height: 100%; align-items: center; min-height: clamp(90px, 11vw, 162px); gap: clamp(12px, 2vw, 25px); padding: clamp(12px, 2vw, 24px); border: 1px solid #cf967d; border-radius: 18px; background: var(--card); color: var(--ink); text-decoration: none; font: 700 clamp(1.15rem, 2.5vw, 2.1rem)/1.15 var(--display); overflow-wrap: anywhere; }
a.device-tile:hover { background: #f3dfce; }
@media (max-width: 760px) { .device-dashboard { grid-template-columns: 1fr; } .device-frame { width: min(100%, 260px); } }
@media (max-width: 470px) { .device-tiles { grid-template-columns: 1fr; } }
.phone-order { width: 100%; height: auto; min-height: 0; aspect-ratio: 6 / 13; border: 2px dashed var(--accent); color: var(--ink); text-decoration: none; }
.phone-order:hover { background: #ecdfd2; }
@media (max-width: 820px) {
  .bar { min-height: 74px; }
  .account-actions { gap: 8px; }
  .hero { display: flex; flex-direction: column-reverse; align-items: stretch; min-height: 0; }
  .hero-image { position: static; height: clamp(270px, 62vw, 460px); object-position: 80% 55%; }
  .hero-offer { top: auto; bottom: 24px; left: 5%; width: clamp(110px, 23vw, 175px); }
  .hero-cancel { top: auto; bottom: 88px; right: 6%; }
  .hero-sample { top: auto; bottom: 32px; left: auto; right: 6%; }
  .hero::before { display: none; }
  .hero-content { padding-block: 35px; }
  h1 { font-size: clamp(2.75rem, 8.2vw, 5.15rem); }
  .grid { grid-template-columns: 1fr; }
  .grid article { min-height: 78px; }
}
@media (max-width: 385px) {
  .bar { gap: 10px; }
  .account-actions { gap: 5px; }
  .button, .outline { padding-inline: .55rem; border-radius: 12px; font-size: .9rem; }
  .hero-button { padding-inline: 1rem; font-size: 1.1rem; }
}
